You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tammy Dugan (JIRA)" <ji...@apache.org> on 2007/06/26 14:04:27 UTC
[jira] Created: (AXIS2-2861) Enabling MTOM for a service duplicates
the response message
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....@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....@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
[jira] Commented: (AXIS2-2861) Enabling MTOM for a service
duplicates the response message
Posted by "Tammy Dugan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508223 ]
Tammy Dugan commented on AXIS2-2861:
------------------------------------
Thanks for responding so quickly. I removed the flush and everything looks fine.
Thanks,
Tammy
> 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....@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....@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
[jira] Resolved: (AXIS2-2861) Enabling MTOM for a service
duplicates the response message
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2861.
-------------------------------------
Resolution: Won't Fix
> 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....@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....@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
[jira] Commented: (AXIS2-2861) Enabling MTOM for a service
duplicates the response message
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ 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....@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....@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
[jira] Updated: (AXIS2-2861) Enabling MTOM for a service duplicates
the response message
Posted by "Tammy Dugan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tammy Dugan updated AXIS2-2861:
-------------------------------
Attachment: Axis2MTOMError.java
Here is the entry for the service in the services.xml file:
<service name="TestAxis2" scope="soapsession">
<parameter name="ServiceClass">org.regenstrief.queryposer.Axis2MTOMError</parameter>
<parameter name="enableMTOM" locked="false">true</parameter>
<operation name="queryStatisticsReturn">
<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
</service>
MTOM is disabled by default in the axis2 config file. I enable it on a per service basis.
> 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....@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....@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