Return-Path: Mailing-List: contact soap-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list soap-dev@xml.apache.org Received: (qmail 81400 invoked from network); 6 Dec 2001 07:36:23 -0000 Received: from igw3.watson.ibm.com (198.81.209.18) by daedalus.apache.org with SMTP; 6 Dec 2001 07:36:23 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [9.2.112.57]) by igw3.watson.ibm.com (8.11.4/8.11.4) with ESMTP id fB67aYT59392 for ; Thu, 6 Dec 2001 02:36:34 -0500 Received: from LANKABOOK2 (sig-9-15-70-208.mts.ibm.com [9.15.70.208]) by sp1n293en1.watson.ibm.com (8.11.4/8.11.4) with SMTP id fB67aVU52766 for ; Thu, 6 Dec 2001 02:36:32 -0500 Message-ID: <05e101c17e28$987ee850$cea17cca@watson.ibm.com> From: "Sanjiva Weerawarana" To: References: <3C0E4D10.43421DDA@genome.wi.mit.edu> Subject: Re: NullPointerException when serializing null String objects Date: Thu, 6 Dec 2001 13:35:32 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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? Sanjiva. ----- 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 > > >