This content has been marked as final.
Show 2 replies
-
1. Re: SimpleTypes not creating classes with wsconsume
maffewl Jun 21, 2007 5:05 PM (in response to maffewl)my assumption that it did not generate all simple types was incorrect, in fact it DID even generate the LanguageCode class, it doesnt hoever generate this one:
<xsd:simpleType name="accountStatusCode"> <xsd:restriction base="xsd:int"> <xsd:enumeration value="1"/> <xsd:enumeration value="2"/> <xsd:enumeration value="3"/> <xsd:enumeration value="4"/> <xsd:enumeration value="5"/> <xsd:enumeration value="6"/> <xsd:enumeration value="7"/> <xsd:enumeration value="8"/> <xsd:enumeration value="9"/> </xsd:restriction> </xsd:simpleType>
any reason for that? -
2. Re: SimpleTypes not creating classes with wsconsume
davidchen Jul 20, 2007 9:27 PM (in response to maffewl)Any help so far? Furthermore, if using other "restriction" except "enumeration" (ex. "minInclusive", "maxInclusive"), neither wsconsume nor wsdl2java will create class for that simple type. So, any way to implement such restriction in java code so that jaxb can recognize?
Thanks a lot
David