Re: msg=No Deserializer found

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <099a01c462a7$af6fd9a0$6401a8c0@northgate>
You need to map the same qualified name as the exception shows:

smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName("uri:Login:SOAPSDK1", "Answer"), null, null, sd);

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: "arvind" <[email protected]>
To: <[email protected]>
Sent: Monday, July 05, 2004 1:25 AM
Subject: msg=No Deserializer found



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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.