Hi,
    I'm trying to use a java client to talk to a Microsoft.NET Web Service. It seams like the client is getting the proper data back from the web service but it fails to Deserialize the returned xml. How do I create a Deserializer for this xml?
 
sample return
---
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <HelloWorldResponse xmlns="http://tempuri.org/">
      <HelloWorldResult>Hello World</HelloWorldResult>
    </HelloWorldResponse>
  </soap:Body>
</soap:Envelope>
---
 
I've tried adding a deserializer like the following code and it still didn't work
---
SOAPMappingRegistry smr = call.getSOAPMappingRegistry();
StringDeserializer sd = new StringDeserializer();
smr.mapTypes (Constants.NS_URI_LITERAL_XML, new QName ("", "HelloWorldResult"), null, null, sd);
---
 
Thanks in advance for your help,

Mr. St�phane Trottier

Senior Software Development Engineer

Onyx Software

 

www.onyx.com

 

B   u   s   i   n   e   s   s  .       C   u   s   t   o   m   e   r   s  .       V   a   l   u   e  .       N   o   w .

 

Reply via email to