Stefan,

I believe we fixed Axis to just generate a String for these kind of
types, as there is no reason to generate an entire Class to encapsulate
a single string.

--
Tom Jordahl
Macromedia Server Development

> -----Original Message-----
> From: Stefan Gebhardt [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 08, 2005 7:08 AM
> To: [email protected]
> Subject: wsdl2java doesn't work properly with xsd simpleType
> 
> Hello,
> i tryed to generate the eBayApi with axis1.2.1Final wsdl2java anttask.
> Wsdl2Java didn't generate the classes representing the simpleTypes
> like....
> 
>        <xs:simpleType name="ItemIDType">
>                 <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:simpleType name="UserIDType">
>                 <xs:restriction base="xs:string">
>                         <xs:length value="127"/>
>                 </xs:restriction>
>         </xs:simpleType>
> 
> After deleting the namespace.prefix it worked but the namspace.prefix
is
> properly defined.  xmlns:xs="http://www.w3.org/2001/XMLSchema";
> Is this a bug or am i totally wrong?
> 
> Best Regards
> Stefan

Reply via email to