Our scenario is .NET client with JBoss 4.0.1 server.  We wrote a Java web 
service and it deploys just fine within JBoss.  In writing the .NET client, we 
add a web reference and it sees the WSDL just fine too.  When it comes to 
execution, the .NET client appears to call the web service okay and by sniffing 
the SOAP message returned, the web service is returning the correct response.  
However, the return value the .NET client always see is null.

We have a Java client that calls the web service just fine.

We tried writing a .NET web service to see what it is returning so we could 
compare things.  One of our developers noticed that the SOAP messages differed 
only in return character and namespace notation.

The Java web service returned:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <ns1:HelloWorldResponse xmlns:ns1="http://Walkthrough/XmlWebServices/";>
   wazzup
  </ns1:HelloWorldResponse>
 </soapenv:Body>
</soapenv:Envelope>


The .NET web service returned:

<?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>hello 
world</soap:Body></soap:Envelope>

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905548#3905548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905548


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to