When you run wsdl2java please add "-d xmlbeans". That's the best
alternative for your problem.

thanks,
dims

On 12/28/06, Braber, Nico den <[EMAIL PROTECTED]> wrote:




Hello,



I'm using a primitive type in my wsdl:



eg <xs:element name="numberID" type="xs:int" nillable="true"/>



After generating the code in Eclipse with adb databinding, I expect an
Integer and not an int Java type.

int has a default value of "0" and I like to have a null value for the
Integer object (so I can skip them in the SOAP message)



How can this be achieved with axis2 adb (it looks like axis1.4 generates
Integer for nillable types).

(same question for boolean type)

And if not what is an alternative for this (xmlbeans , castor..)



Thanks a lot,



Nico den Braber






--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to