You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by hu...@jpmorgan.com on 2002/01/31 20:59:40 UTC

Problem with deserialization of null objects

I have a simple service which takes one argument.  When I pass null into
the method it is deserialized as an EMPTY object in the SOAP service.  It
doesn't matter whether the object is a String or Vector or whatever.  Using
the TcpTunnelGui I can see that the attribute xsi:null="true" is correctly
set during serialization.

I am using WebSphere Studio Application Developer 4.0 (but not using the
SOAP jar packaged with the IDE; instead I'm using Apache SOAP 2.2).  I
deployed the SOAP service to Tomcat and ran into the same problem.

Any ideas?

Shawn.


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.