axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Soni <learnspr...@gmail.com>
Subject Wsdl2Java and Default Values in Schema
Date Wed, 18 Feb 2009 20:27:19 GMT
Hi ,

I am having some default values in XML schema and when i a generate java
object from the WSDL i cant see the default values  , Can some one please
let me know what the problem or how to fix this.

<xs:complexType name="RptFmt">
                <xs:choice>
                    <xs:element name="PDF" type="xs:string" default="PDF"
/>
                    <xs:element name="CSV" type="xs:string" />
                </xs:choice>
</xs:complexType>

Regards,
Ashish Soni

Mime
View raw message