Microsoft tends to do things there own way. In this case, they do not send type information so apache does not know how to deserialize the response. There is a solution, however. You can add a mapping between the name of the response XML element and the appropriate deserializer. This goes in your client code. The link below is to a client that does this:
 
 
The code to study is:
 
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName("", "return"), null, null, floatDser);
where smr is a SOAPMAppingRegistry instance and floatDser is a FloatDeserializer. This piece of code would associate an response element with the name 'return' with the float deserializer. Similar code will solve your problem.

Erich Izdepski
Senior Software Engineer
Cysive, Inc.

-----Original Message-----
From: suresh [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:18 PM
To: [EMAIL PROTECTED]
Subject: Known Bug :Missing xsd type in SOAP response

Hi all,
 
         I am trying to invoke MSSOAP Web Service from a Apache SOAP
Client i still get the error missing xsd:type in the response .I am
using apache SOAP 2.3 and MSSOAP version 3.0 beta. How do i fix this??
 
 
thanks in advance,
 
suresh

 

Reply via email to