> How about a String[] some of them containing null String.
> I encountered failure with some AppServers. I don't know
> the status for Apache SOAP servlet.
Should work just fine.
> By the way, does Axis or SOAP do multi-ref serilization?
> If I send a String[] containing identical strings, wil
I just committed a test to handle your case correctly; I would
appreciate if you could try it out!
Thanks,
Sanjiva.,
- Original Message -
From: "David Turner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 9:27 PM
Subject: Re: NullPointerException when ser
sanjiva 01/12/06 11:37:44
Modified:java/src/org/apache/soap/encoding SOAPMappingRegistry.java
Log:
added a test so null strings get serialized correctly
Revision ChangesPath
1.27 +16 -9
xml-soap/java/src/org/apache/soap/encoding/SOAPMappingRegistry.java
In
How about a String[] some of them containing null String.
I encountered failure with some AppServers. I don't know
the status for Apache SOAP servlet.
By the way, does Axis or SOAP do multi-ref serilization?
If I send a String[] containing identical strings, will
I see use of XML id/href in the w
Sam Ruby writes:
> Here's a wiredump of a client trying to pass nulls to an Apache SOAP 2.2:
>
>
http://www.mds.rmit.edu.au/~ajk/soap/interop/r2/Apache%25202.2/echoString%25
20(null).txt
>
> True, it is not an Apache SOAP 2.2 client, but I am under the opinion that
> SOAP is all about interoperabi
OK, I understand the problem - the problem is that your MyClassSerializer
isn't following the contract that the built-in StringSerializer expects;
that it will not be invoked for null-valued strings. The way it works
for null valued properties via the bean serializer for example is that
the BeanSe
Sanjiva Weerawarana wrote:
>
> I'd still like to see what Apache SOAP 2.2 client code he wrote
> that caused the null strings to break.
Here's a wiredump of a client trying to pass nulls to an Apache SOAP 2.2:
http://www.mds.rmit.edu.au/~ajk/soap/interop/r2/Apache%25202.2/echoString%2520(null).t
Hi everyone,
The "NullPointerException" occurs when there's a null String object that's part
of the composition of another class.
For instance, I have a class called "MyClass" that contains two private
members: a String object and a URL object. If I leave the String object inside
of "MyClass" nu
No, that code was not the problem code- that was just a serializer
he wrote. THe point is that the string serializer (cleanSer in
SOAPMappingRegistry) is not invoked directly; its invoked via
ParameterSerializer which handles the null.
I'd still like to see what Apache SOAP 2.2 client code he wro
Hello all,
I believe Dave already forwarded the code to this list. Please
take a look at this thread to find it.
Best,
-B
---
Brian Gilman <[EMAIL PROTECTED]>
Sr. Software Engineer MIT/Whitehead Inst. Center
10 matches
Mail list logo