axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Okken (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5080) The combination of rampart and jaxb databinding leads to an UnsupportedOperationException when attempting to sign a message response.
Date Tue, 28 Jun 2011 20:16:17 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Okken updated AXIS2-5080:
-------------------------------

    Comment: was deleted

(was: This appears to have a slightly different manifestation if MTOM is actually being used:

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)
)

> The combination of rampart and jaxb databinding leads to an UnsupportedOperationException
when attempting to sign a message response.
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5080
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5080
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 1.6.0
>         Environment: axis2 1.5.5 and 1.6, axiom 1.2.11, rampart 1.5.1 and 1.6.
>            Reporter: Brett Okken
>
> The problem appears to be in the way that jaxb is converted to axiom does not work with
DOM.
> 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.datasource.jaxb.JAXBCustomBuilder.create(JAXBCustomBuilder.java:91)
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.createWithCustomBuilder(StAXOMBuilder.java:344)
>         at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement(StAXSOAPModelBuilder.java:221)
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)
>         at org.apache.axiom.om.impl.dom.NodeImpl.build(NodeImpl.java:447)
>         at org.apache.axiom.om.impl.dom.ParentNode.getChildNodes(ParentNode.java:168)
>         at org.apache.ws.security.util.WSSecurityUtil.findChildElement(WSSecurityUtil.java:596)
>         at org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:717)
>         at org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
>         at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:379)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
>         at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:419)
>         at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:196)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message