xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erich Izdepski" <eizdep...@cysive.com>
Subject RE: Known Bug :Missing xsd type in SOAP response
Date Tue, 11 Jun 2002 14:02:59 GMT
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:

http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-soap/java/samples/interop/E
choTestClient.java

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:suresh.n@vergiltech.com]
Sent: Monday, June 10, 2002 11:18 PM
To: soap-user@xml.apache.org
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



Mime
View raw message