Re: [Axis2] Setting nillable = false in WSDL
There are open bugs on this and related issues with the wsdl generation. Please vote for them if you care about these kinds of issues as this should help them get priority. http://issues.apache.org/jira/browse/AXIS2 thanks, charles On Nov 13, 2009, at 7:50 AM, Didav Didav wrote: 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 : type="xs:boolean"/> 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, David PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail ! C'est ici !
Re: [Axis2] Setting nillable = false in WSDL
I'm having the same problem. All the non-primitives are set to nillable=true. How do I control the "nillable" attribute when I write my java class. Didav !!! wrote: > > > Hi All, > > I am using Axis2 1.3 and jdk 1.5 > > The WSDL file generated by Axis sets all 'nillable' attribute for all > elements to true. > > 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, > > David > > _ > Nouveau ! Tout Windows débarque dans votre téléphone. Voir les Windows > phone > http://clk.atdmt.com/FRM/go/175819071/direct/01/ > -- View this message in context: http://old.nabble.com/-Axis2--Setting-nillable-%3D-false-in-WSDL-tp26229157p26272419.html Sent from the Axis - User mailing list archive at Nabble.com.