axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Didav Didav <>
Subject FW: [Axis2] Setting nillable = false in WSDL
Date Fri, 13 Nov 2009 12:50:35 GMT

Hi All,

I am using Axis2 1.3 and jdk 1.5 and tomcat 6

The WSDL file generated by Axis sets  the element "nillable=true", but i want to set "nillable=false"...

Exemple : 

<xs:complexType name="DonneesEntreeRechercherClientWS">
    <xs:element minOccurs="0" name="avecContratsAffaire" type="xs:boolean"/>
    <xs:element minOccurs="0" name="referenceClient" nillable="true" type="xs:string"/>

Is there any way I can get the 'nillable' property to true or false in a 
declarative fashion..

I try with the annotation @XmlElement(nillable = false, required=true) but it doesn't work

Thanks a lot,

Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows phone
View raw message