You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Tim K. (Gmane)" <tk...@idpax.com> on 2005/04/06 04:31:28 UTC

wrapped doc/literal and Object vs. primitive types

Hello,

Is it OK to use the wrapper objects and arrays of wrapper objects, e.g. 
Long and Long[] vs. long and long[] for wrapped doc/literal? Will this 
work with .NET?

I know that it doesn't work for rpc/encoded with .NET as .NET will send 
xsd:long rather than soapenc:long so if a method takes a Long argument 
Axis will expect soapenc:long and instead it gets xsd:long.

Will wrapped doc/literal make this possible and allow sending null 
values which is not possible with the primitive types? Or is the 
recommendation to always use primitive types and forget about the 
wrapper objects?

Thank you for your answers.

-- 
Tim