I need to insert a security handler into my client. The security handler extends AbstractHandler.
But when I try to run my code following exception is thrown :
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis2.engine.AxisConfiguration.getOutFlowPhases()Ljava/util/List;
Code snippet :
Why this error is coming when the method exists in AxisConfiguration class?
Is there any alternative way (apart from changing axis.xml) to programmitically add the WsseSecurityHandler.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com