Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ws-rampart-dev by Jorge Fernández (JIRA), 1 year ago
org.apache.axiom.om.impl.dom.ElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock
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(Axis2Util.java:176)	at org.apache.rampart.RampartEngine.process(RampartEngine.java:174)	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:80)	at org.apache.axis2.engine.Phase.invoke(Phase.java:292)	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)	at client.Medici_LinkStub.validate(Medici_LinkStub.java:744)	at client.ClientUtilities.validateTest(ClientUtilities.java:61)	at client.Client.main(Client.java:57)