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] [Created] (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 18:38:17 GMT
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.6.0, 1.5.5
         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