java.lang.ClassCastException: org.apache.axiom.om.impl.dom.ElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock

ws-rampart-dev | Jorge Fernández (JIRA) | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [jira] Issue Comment Edited: (RAMPART-70) RAMPART Problems on building messages

    ws-rampart-dev | 9 years ago | Jorge Fernández (JIRA)
    java.lang.ClassCastException: org.apache.axiom.om.impl.dom.ElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.axiom.om.impl.dom.ElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock

      at org.apache.rampart.util.Axis2Util.getSOAPEnvelopeFromDOMDocument()
    2. Rampart - Core
      RampartReceiver.invoke
      1. org.apache.rampart.util.Axis2Util.getSOAPEnvelopeFromDOMDocument(Axis2Util.java:176)
      2. org.apache.rampart.RampartEngine.process(RampartEngine.java:174)
      3. org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:80)
      3 frames
    3. org.apache.axis2
      OperationClient.execute
      1. org.apache.axis2.engine.Phase.invoke(Phase.java:292)
      2. org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
      3. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
      4. org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)
      5. org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
      6. org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
      7. org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
      7 frames
    4. client
      Client.main
      1. client.Medici_LinkStub.validate(Medici_LinkStub.java:744)
      2. client.ClientUtilities.validateTest(ClientUtilities.java:61)
      3. client.Client.main(Client.java:57)
      3 frames