|
Hi Bob, I have a Interop-problem. I wrote a Service based on the Java-Technology JAX-WS which provides documents MTOM encoded and I wrote a consumer-client in c#.NET. On client-side I get an exception during deserialisation the response-message: System.InvalidOperationException Client found response content type of 'Multipart/Related; type=\"application/xop+xml\"; boundary=\"----=_Part_0_24598445.1143476873406\"; start-info=\"text/xml\"', but expected 'text/xml'. I sniffed the in- and outcomming messages. Here is the JAX-WS response(shorted): *************************************************************************** Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=6156A549140745D2AD142A1F826387A4; Path=/geoengine Content-Type: Multipart/Related; type="application/xop+xml"; boundary="----=_Part_2_18504142.1143467055109"; start-info="text/xml" Content-Length: 59571 Date: Mon, 27 Mar 2006 13:44:15 GMT ------=_Part_2_18504142.1143467055109 Content-Type: application/xop+xml; type="text/xml"; charset=utf-8 <soap:Envelope> ... ... </soap:Envelope> ------=_Part_2_18504142.1143467055109 Content-Type: application/octet-stream Content-ID: <[EMAIL PROTECTED]> Content-transfer-encoding: binary [BINARY DATA] ------=_Part_2_18504142.1143467055109-- *************************************************************************** The only significant difference between .NET request and JAX-WS response I found is that the .NET request has an additional property "start" in its content-header which links to the message-part and "charset" is set to "utf-8". Could this be the reason for the fault? Best Regards Florian DeRemer, Bob schrieb:
|
Title: WSDL interop question using .NET service and Axis2 0.94 client
- Re: WSDL interop question using .NET service and Axis2 0.9... Florian Rengers
