msg=No Deserializer found
"arvind" <[email protected]>
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have a service installed on MS Soap which calls a VB Dll. I tried to access it using Apache Soap. Then I got the following error.
[SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a 'uri:Login:SOAPSDK1:Answer' using encoding style 'null'.; targetException=java.lang.IllegalArgumentException: No Deserializer found to deserialize a 'uri:Login:SOAPSDK1:Answer' using encoding style 'null'.]
I have included the following code to Deserialize the incoming string.
SOAPMappingRegistry smr = new SOAPMappingRegistry ();
StringDeserializer sd = new StringDeserializer ();
smr.mapTypes (Constants.NS_URI_SOAP_ENC, new QName ("", "Answer"), null, null, sd);
// create the transport and set parameters
SOAPHTTPConnection st = new SOAPHTTPConnection();
// build the call.
Call call = new Call ();
call.setSOAPTransport(st);
call.setSOAPMappingRegistry (smr);
Please help!!!
Thank you,
Arvind. K
ARVIND