Hello all, I'm sorry to be such a dim light here but can you tell us why this is considered an "edge case"?? I'd think that most people who are writing code to marshall/unmarshall objects on the wire would encounter this problem. What am I missing?? Is there, in your estimation of our code that we sent, some better way of doing things??
Thanks in advance! -B ----------------------- Brian Gilman <[EMAIL PROTECTED]> Sr. Software Engineer MIT/Whitehead Inst. Center for Genome Research One Kendall Square, Bldg. 300 / Cambridge, MA 02139-1561 USA phone +1 617 252 1069 / fax +1 617 252 1902 On Wed, 5 Dec 2001, Sam Ruby wrote: > David Turner wrote: > > > > 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? > > I'd classify this as a known bug. It is present in a number of SOAP > implementations - something you can graphically see by looking at the third > row of http://www.mds.rmit.edu.au/~ajk/soap/interop-results.htm#r2a > > The particular implementation you sent is missing a key element of the > current Apache SOAP 2.2 implementation - namely a call to > Utils.cleanString. > > In any case, the problem you have reported and a number of other important > "edge cases" have been addressed in Apache Axis. > > - Sam Ruby > >