I have developed a webservice in Axis2 1.5 which will be called by a
Java client. The client needs to pass username and password in
SOAP Header. For this I am using Rampart 1.5.
Till now I have followed these steps
1. Copy rampart-1.5.mar and rahas-1.5.mar in modules directory of both client and service.
2. Copy Rampart jars in the lib directory of both service and client.
3. In client following was done
-- Following was added to axis2.xml
-- Following is ClientCredentialsHandler.java
4. In the webservice following was done
-- Following was added to services.xml
-- Following is ServiceCredentialsHandler.java
When I execute the client, it gives me the following error
It seems the client handler is not getting called as I cannot see the sysouts that were a part of the client handler.
Is there any setting that I need to do?
thank you