I read somewhere that MS.NET does not support literal XML encoding.. can't
remember where.. might have been here
http://www-106.ibm.com/developerworks/webservices/library/ws-ref3/

Another problem with Apache vs MSSOAP is that you can't use sessions between
them.

I have had a lot of success getting .NET and Apache to talk to each other
with soap encoded data types.

Yours
Phil

----- Original Message -----
From: "Taz Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 12:12 AM
Subject: XML Literal Encoding Problems with MS .NET


> 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