[
https://issues.apache.org/jira/browse/AXIS2-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541070
]
Thilina Gunarathne commented on AXIS2-3196:
-------------------------------------------
As I said above try replacing the Axiom jars in the Axis2 1.3 with the latest
snaphots. ...
> .NET C# using WSE 3.0 does not interop with Axis2.0 Version 1.3
> ---------------------------------------------------------------
>
> Key: AXIS2-3196
> URL: https://issues.apache.org/jira/browse/AXIS2-3196
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: OS: Windows XP
> Client: .NET 2.0 C# via WSE 3.0
> Server: Axis2.0 Version 1.3 on JBoss Application Server 4.0.5.GA via Java 1.5
> Reporter: james chan
> Assignee: Thilina Gunarathne
>
> Hi,
> I am writing a .NET client application that calls a web method from an
> Axis2.0 (version 1.3) server. My method simply get a text file from the
> server as an MTOM attachment. When the web method is done executing, the
> following exception is thrown:
> WSE1621: The incoming message doesn't have the SOAP envelope as the first
> MIME part as required for security purposes. Refer to the
> messaging/mtom/requireSoapEnvelopeFirst configuration section to turn this
> off. It is recommended to turn this on for security reasons.
> I proceed to uncheck the "Require SOAP Envelope First" option and re-run my
> client code. I get the following exception:
> WSE1608: No XOP parts were located in the stream for the specified
> content-id: 0.urn:uuid:[EMAIL PROTECTED]
> I use TCPMON to inspect the response header (see below) and can verify that
> the content-id does have a XOP definition.
> Upon closer inspection of the SOAP response header (see below), The value of
> the "start" attribute should match the value of the "content-id". The value
> of the content-id of the first MIME boundary is "<0.urn:uuid:[EMAIL
> PROTECTED]>" and the start attribute is "0.urn:uuid:[EMAIL PROTECTED]". It is
> clear that content-id attribute and start attribute do not match because of
> the missing "<" and ">". This is why the exception reads "no xop parts where
> located for the specified content-id". It could not find that content-id!
> The same .NET client works under Axis2.0 (version 1.2). The content-id and
> start attribute both contains the "<" and ">" character in the response
> message.
> Please fix this as soon as possible!!
> Thanks.
>
> *******************************************************************************************************************************************************************
> RESPONSE HEADER viewed from TCPMON
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0
> date=200610162339)/Tomcat-5.5
> Content-Type: multipart/related;
> boundary=MIMEBoundaryurn_uuid_C77D473198EDDA58BB1189619919250;
> type="application/xop+xml"; start="0.urn:uuid:[EMAIL PROTECTED]";
> start-info="application/soap+xml"; action="urn:getMTOMAttachmentResponse"
> Transfer-Encoding: chunked
> Date: Wed, 12 Sep 2007 17:58:39 GMT
> 405
> --MIMEBoundaryurn_uuid_C77D473198EDDA58BB1189619919250
> Content-Type: application/xop+xml; charset=utf-8; type="application/soap+xml"
> Content-Transfer-Encoding: binary
> Content-ID: <0.urn:uuid:[EMAIL PROTECTED]>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:MessageID>urn:uuid:C77D473198EDDA58BB1189619919249</wsa:MessageID><wsa:Action>urn:getMTOMAttachmentResponse</wsa:Action><wsa:RelatesTo>urn:uuid:52e3ff0c-6b3f-4555-82b7-fdf63054268d</wsa:RelatesTo></soapenv:Header><soapenv:Body><ns1:getMTOMAttachmentResponse
> xmlns:ns1="http://SampleAxis2/xsd"><ns1:return><xop:Include
> href="cid:1.urn:uuid:[EMAIL PROTECTED]"
> xmlns:xop="http://www.w3.org/2004/08/xop/include"
> /></ns1:return></ns1:getMTOMAttachmentResponse></soapenv:Body></soapenv:Envelope>
> 38
> --MIMEBoundaryurn_uuid_C77D473198EDDA58BB1189619919250
> c7
> Content-Type: text/plain
> Content-Transfer-Encoding: binary
> Content-ID: <1.urn:uuid:[EMAIL PROTECTED]>
> This is a test for Web Service using Axis2.0 via MTOM attachments
> 38
> --MIMEBoundaryurn_uuid_C77D473198EDDA58BB1189619919250
> 2
> --
> 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]