Hi,

 The usage of JiBX binding for issuing client calls works fine. But when we try 
adding WS-SECURITY to the picture axis throws the following exception.

 Any ideas?

 Thanks,

 Alex

 

[junit] Caused by: org.apache.axis2.AxisFault: WSDoAllReceiver: Error in 
converting to Document;

 nested exception is:

    [junit]     org.apache.ws.security.WSSecurityException: Error in converting 
SOAP Envelope to Doc

ument; nested exception is:

    [junit]     org.apache.axiom.om.OMException: 
javax.xml.stream.XMLStreamException

    [junit]     at 
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java:249)

    [junit]     at 
org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:86)

    [junit]     ... 23 more

    [junit] Caused by: org.apache.ws.security.WSSecurityException: Error in 
converting SOAP Envelope

 to Document; nested exception is:

    [junit]     org.apache.axiom.om.OMException: 
javax.xml.stream.XMLStreamException

    [junit]     at 
org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:121)

 

    [junit]     at 
org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java:247)

    [junit]     ... 24 more

    [junit] Caused by: org.apache.axiom.om.OMException: 
javax.xml.stream.XMLStreamException

    [junit]     at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)

    [junit]     at 
org.apache.axiom.om.impl.dom.NodeImpl.build(NodeImpl.java:469)

    [junit]     at 
org.apache.axiom.om.impl.dom.DocumentImpl.build(DocumentImpl.java:476)

    [junit]     at 
org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:107)

 

    [junit]     ... 25 more

    [junit] Caused by: javax.xml.stream.XMLStreamException

    [junit]     at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.updateLastNode(OMStAXWrapper.java:952

)

    [junit]     at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:913)

    [junit]     at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:116)

    [junit]     ... 28 more

 

    [junit] Test com.mercury.itg.ws.dm.SampleDemandServiceJibxTest FAILED

<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to