I am trying to receive an XML document from a MS .NET
web service.  I specified the encoding style as
NS_URI_LITERAL_XML:

 
call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);

There are no parameters.  The SOAP response is:
<?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>
    <getUserResponse
xmlns="http://microsoft-net-server/MyService/UserAccounts";>
      <getUserResult>
        <errorState>Failure</errorState>
        <errorMessage>Authorization Failed or account
doesn't exist</errorMessage>
      </getUserResult>
    </getUserResponse>
  </soap:Body>
</soap:Envelope>

I get the following error from the client (Java):
   [Client] [SOAPException: faultCode=SOAP-ENV:Client;
msg=No Deserializer found
 to deserialize a
'http://microsoft-net/DotNetPofCService/CharlesSchwab:getUserR
esult' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.; target
Exception=java.lang.IllegalArgumentException: No
Deserializer found to deseriali
ze a
'http://microsoft-net/DotNetPofCService/CharlesSchwab:getUserResult'
using
encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]
   [Client]     at
org.apache.soap.rpc.Call.invoke(Call.java:246)
   [Client]     at
com.de.webservice.security.view.Client.main(Unknown
Source)
   [Client] Exception in thread "main"

Any Ideas? Thanks!

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Reply via email to