]
Alessio Soldano updated JBWS-1973:
----------------------------------
Assignee: (was: Alessio Soldano)
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
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: