ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiva Weerawarana" <>
Subject Re: NullPointerException when serializing null String objects
Date Thu, 06 Dec 2001 07:35:32 GMT
How did you serialize the string? If its a parameter to an RPC
call the null value should be handled correctly. 

Can you post the code that shows the problem please?


----- Original Message ----- 
From: "David Turner" <>
To: <>
Sent: Wednesday, December 05, 2001 10:36 PM
Subject: NullPointerException when serializing null String objects

> I ran into a problem with SOAP's current String serialization when it
> encounters null String objects.   I couldn't find anything in either the
> user or dev archives regarding this so I don't know if this is a bug or
> not.
> I ended up writing my own String serializer which handled the null
> situation.  I only used my String serializer on the client side when
> sending data to the service -- the soap service just uses the default
> soap String serializer/deseralizer.   I have attached the source code
> for my String serializer in case it can be incorporated into SOAP.
> What I would like to know is if this is currently an issue or not?   Is
> SOAP currently able to handle null String objects during serializing?
> Much appreciated.
> David
> I

View raw message