The combination of axiom DOOM and MTOM leads to an
UnsupportedOperationException when attempting to parse a request.
--------------------------------------------------------------------------------------------------------------------
Key: AXIS2-5081
URL: https://issues.apache.org/jira/browse/AXIS2-5081
Project: Axis2
Issue Type: Bug
Affects Versions: 1.5.5
Environment: axis2 1.5.5, axiom 1.5.11
Reporter: Brett Okken
I have hard coded the use of DOOM to work around AXIS2-5080. That works as long
as I do not use MTOM. However, if I use MTOM, I get this exception:
Caused by: java.lang.UnsupportedOperationException: Not supported for DOM
at
org.apache.axiom.om.impl.dom.factory.OMDOMFactory.createOMElement(OMDOMFactory.java:194)
at
org.apache.axis2.jaxws.message.impl.XMLSpineImpl._createOMElementFromBlock(XMLSpineImpl.java:654)
at
org.apache.axis2.jaxws.message.impl.XMLSpineImpl._getBlockFromOMElement(XMLSpineImpl.java:597)
at
org.apache.axis2.jaxws.message.impl.XMLSpineImpl.getBodyBlock(XMLSpineImpl.java:334)
at
org.apache.axis2.jaxws.message.impl.XMLPartBase.getBodyBlock(XMLPartBase.java:521)
at
org.apache.axis2.jaxws.message.impl.MessageImpl.getBodyBlock(MessageImpl.java:657)
at
org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.getPDElements(MethodMarshallerUtils.java:329)
at
org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller.demarshalRequest(DocLitBareMethodMarshaller.java:183)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]