axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2861) Enabling MTOM for a service duplicates the response message
Date Tue, 26 Jun 2007 14:23:26 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508187
] 

Davanum Srinivas commented on AXIS2-2861:
-----------------------------------------

Tammy,

Please remove the xmlWriter.flush(); from your CustomDataSource to get this working. where
the enableMTOM is set does not matter (axis2.xml or services.xml)

thanks,
dims

> 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
>         Attachments: Axis2MTOMError.java
>
>
> 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:3A7C9A63405FA643D11182859030414@apache.org>
> <?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:3A7C9A63405FA643D11182859030414@apache.org>
> <?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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message