Enabling MTOM for a service duplicates the response message
-----------------------------------------------------------

                 Key: AXIS2-2861
                 URL: https://issues.apache.org/jira/browse/AXIS2-2861
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: Windows XP
            Reporter: Tammy Dugan


When I create an OMSourcedElementImpl element from an inputstream with MTOM 
enabled, the response message is corrupted as follows:

--MIMEBoundaryurn_uuid_3A7C9A63405FA643D11182859030413
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:[EMAIL PROTECTED]>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><returnStatistics
 />
--MIMEBoundaryurn_uuid_3A7C9A63405FA643D11182859030413----MIMEBoundaryurn_uuid_3A7C9A63405FA643D11182859030413
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <0.urn:uuid:[EMAIL PROTECTED]>

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><returnStatistics
 /></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryurn_uuid_3A7C9A63405FA643D11182859030413--


As you can see, the response message is duplicated. I am attaching a very 
simple test case that should reproduce the error. If I disable MTOM, the 
message is fine.

-- 
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]

Reply via email to