My guess is that either you or WebSphere has added a type mapping to read the result,
but has not done it correctly. It looks like a full type mapping has been provided,
rather than the element name mapping required. It should be something like
StringDeserializer stringDser = new
I had the following in my code already:
Call call = new Call();
call.setSOAPTransport(soapHTTPConnection);
SOAPMappingRegistry smr = call.getSOAPMappingRegistry();
StringDeserializer sd = new StringDeserializer();
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName(, Result),
The error is complaining about the namespace being empty, but if you look at
strLoginName xmlns:ns2= xsi:type=ns2:Result
there is a real underlying problem: the type of the element is xsd:string, not
ns2:Result. The mapping in the line
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName(,
How can I tell which version of Apache SOAP it is
Michael Fork
[EMAIL PROTECTED]
Scott Nichol [EMAIL PROTECTED]
07/30/2003 12:40 PM
Please respond to soap-user
To:[EMAIL PROTECTED]
cc:
Subject:Re: Apache - MSSOAP Namespaces
The error is complaining
I did some digging and found that it is version 2.3 Any suggestions as to why it is not working?
Thanks
Michael Fork
[EMAIL PROTECTED]
Michael J Fork/Rochester/[EMAIL PROTECTED]
07/30/2003 01:04 PM
Please respond to soap-user
To:[EMAIL PROTECTED]
cc:
Subject:
I think it should work with 2.3. How did you determine the version?
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
- Original Message -
From: Michael J Fork [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Asked the WAS guys what version they shipped...
Michael Fork
[EMAIL PROTECTED]
Scott Nichol [EMAIL PROTECTED]
07/30/2003 03:32 PM
Please respond to soap-user
To:[EMAIL PROTECTED]
cc:
Subject:Re: Apache - MSSOAP Namespaces
I think it should work with 2.3.
How about changing your code to
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName(, Result), null, null, sd);
That's how the docs specify this should be done. I took the other snippet from a
sample.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to
Thank you! That did it.
Have a good one.
Michael Fork
[EMAIL PROTECTED]
Scott Nichol [EMAIL PROTECTED]
07/30/2003 04:32 PM
Please respond to soap-user
To:[EMAIL PROTECTED]
cc:
Subject:Re: Apache - MSSOAP Namespaces
How about changing your code to