axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cail Borrell <cail.borr...@gmail.com>
Subject simpleType restrictions not in ADB from codegen
Date Wed, 24 Mar 2010 21:43:03 GMT
Hi List

I am using the wsdl2c tool and cannot get my type definitions converted
to adb properly.

I am using Axis2 1.5.1 and Axis2c 1.6 on MacOSX and generate the
service skeleton like this.

wsdl2c.sh -uri file:///services.wsdl -ss -sd -d adb -u -f

To be more specific I am trying to get the restrictions from a  
"simpleType"
into the adb type.

<xs:simpleType name="TestSimpleType">
   <xs:restriction base="xs:string">
     <xs:maxLength value="100"/>
     <xs:pattern value="[A-Z]"/>
   </xs:restriction>
</xs:simpleType>

I get the adb type generated but without the restrictions.

Is this a know limitation or am I just doing something wrong?

Thanks,
Cail
Mime
View raw message