[
http://jira.jboss.com/jira/browse/JBWS-1973?page=all ]
Thomas Diesler updated JBWS-1973:
---------------------------------
Fix Version/s: jbossws-native-2.0.4
MTOM/XOP attachments inlined when using JAX-WS handlers
-------------------------------------------------------
Key: JBWS-1973
URL:
http://jira.jboss.com/jira/browse/JBWS-1973
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-2.0.2
Reporter: Alessio Soldano
Assigned To: Alessio Soldano
Fix For: jbossws-native-2.0.4
I found out that eventual attachments are moved inline when there are jaxws handlers in
place.
In order to prevent this, calls to XOPContent.visitAndRestoreXOPData() were added in the
HandlerDelegateJAXRPC, so that the model transits to the xml-valid and the xop:Include are
restored:
boolean status = (handlerChain != null ? handlerChain.handleResponse(msgContext) :
true);
if (type == HandlerType.ENDPOINT)
XOPContext.visitAndRestoreXOPData();
return status;
This should be done for JAXWS too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira