[Axis2] Setting nillable = false in WSDL

View: New views
3 Messages — Rating Filter:   Alert me  

[Axis2] Setting nillable = false in WSDL

by Didav !!! :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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


Achetez un nouveau PC et bénéficiez de Windows 7 dès sa sortie ! En savoir plus

RE: [Axis2] Setting nillable = false in WSDL

by Didav !!! :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
any idea? :)


From: didav77@...
To: axis-user@...
Subject: [Axis2] Setting nillable = false in WSDL
Date: Fri, 6 Nov 2009 09:38:00 +0000

Hi All,

I am using Axis2 1.3 and jdk 1.5 and apache tomcat server 6.0

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


Achetez un nouveau PC et bénéficiez de Windows 7 dès sa sortie ! En savoir plus

Nouveau Windows 7 : Simplifiez votre PC ! Trouvez le PC qui vous convient.

Re: [Axis2] Setting nillable = false in WSDL

by Luke@alarmpoint :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/