Try wrapping the return value in a wrapper element, e.g:

 <ns:returnWrapper xmlns:ns="urn:foo:bar">
      <ns:return nil="true"/>
 </ns:returnWrapper>

Anne

On 7/5/07, Leonhard Holzer <[EMAIL PROTECTED]> wrote:

Hello list,

I am using an axis2 web service with complex return types.
The return type of one operation is of the type xs:int nillable=true.

When I run the wsdl2java tool I get an mapping to java int type which is not
working well with null values. I read that basic types with nillable=true
should be mapped to the wrapper classes (Integer, Double etc.). Why is it
not working?

The wsdl file is geerated automatically from the axis2 application. How can
I configure wsdl2java to map xs:int to Integer?

Thanks for your help
  Leonhard


________________________________
Kostenlos bloggen + eigene Homepage + Fotospeicher = MSN Spaces Kostenlos!

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

Reply via email to