1 Reply Latest reply: Dec 3, 2012 11:28 PM by 877508 RSS

    Axis2 client- Exception while processing response from web service

    975130
      Hi,
      My client request is sending the request successfully but on receiving response , it throws the following exceptions:

      Exception in thread "main" org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security
           at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:97)
           at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
           at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
           at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
           at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
           at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

      Client using Rampart module for WS-Security, plus addressing module by default which is engaged gloabally in axis2.
      Some user suggested me to disable addressing module in axis2 client but no use. Please help!