KanikaVarma / sudzc

Automatically exported from code.google.com/p/sudzc
0 stars 0 forks source link

Sudzc not working for the base type enum #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.

SudzC worked fine for me. But when it create objects for the types eventTrigger 
and PatternImageStatus as mentioned in the below WSDL script it requires to 
inherit from another class Enum but Enum is just a type. So how can i implement 
those two classes with the base type Enum? 
2.
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns="http://ws.arapweb.atlinkcom.com"><soap:Body><buyCoupon><imsi></imsi><purc
haseMethod></purchaseMethod><eventId></eventId><imei></imei></<wsdl:types><xs:sc
hema attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://util.arapweb.atlinkcom.com/xsd"><xs:complexType 
name="EventTrigger"><xs:complexContent><xs:extension 
base="xs:Enum"><xs:sequence/></xs:extension></xs:complexContent></xs:complexType
><xs:complexType name="PatternImageStatus"><xs:complexContent><xs:extension 
base="xs:Enum"><xs:sequence/></xs:extension></xs:complexContent></xs:complexType
></xs:schema>

What is the expected output? What do you see instead?
There should be a enum class generated and it should inherit the eventTrigger 
and patternimagestatus classes. But it's not automatically generated.

What version of the product are you using? On what operating system?
 generated code from http://sudzc.com/ for mac os.

Please provide any additional information below.

Original issue reported on code.google.com by malshan...@gmail.com on 25 Sep 2012 at 11:22