axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: wsdl2java issues
Date Fri, 16 Feb 2007 06:28:16 GMT
>
> 2) Adb databinding fails to generate classes and fields for enums
> derived from string. For a schema complex type attribute like this:
> <xs:simpleType>
>   <xs:restriction base="xs:string">
>    <xs:enumeration value="SUCCESS"/>
>    <xs:enumeration value="FAILURE"/>
>   </xs:restriction>
> </xs:simpleType>
> no field appears in the respcetive Java class generated from the complex
> type having this attribute - and no class is generated from the enum
> type. Fortunately xmlbeans bindings handles this perfectly - an emum
> style Java class is generated and appropriate fields appear.
> BTW early versions of axis1 had also problems with such enum ;)
> Do the developers follow similar path ? ;)


axis2 1.1.1 does not handle enum and restrictions properly. Can you please
check with a nightly build?
if you get errors still please log a jira and attach your wsdl.

2a) The generated adb Java class names are just ugly, like this:
> xsdtypename_typex for x=1,2,3,... . This is not a
> problem but the "_typex"  suffixes are just disturbing.
>
> Has anyone also met those problems ?
>
> Regards,
> J.K.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message