Hello,
I have made little progress on this subject. I have looked at rampart samples.
The one that is close to my use-case is the Tomcat sample (UT over transport).
So I have modified, a little bit, the policy of this sample in order to use
plain text Username token (see attached the policy I have used + the sources
generated by the WSDL2Java tool and the client itself).
Nevertheless I still have issue:
7 avr. 2010 17:57:26 org.apache.axis2.deployment.DeploymentEngine
prepareRepository
INFO: No services directory was found under D:\Documents and
Settings\fcourtau\workspace\WebServiceProject.
7 avr. 2010 17:57:26 org.apache.axis2.deployment.DeploymentEngine
prepareRepository
INFO: No modules directory was found under D:\Documents and
Settings\fcourtau\workspace\WebServiceProject.
org.apache.axis2.AxisFault: Error on verifying message against security policy
Error code:1000
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:435)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
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)
at
gemalto.test.GemaltoEJBServiceStub.helloWorld(GemaltoEJBServiceStub.java:187)
at gemalto.test.GemaltoEJBWSClient.main(GemaltoEJBWSClient.java:37)
Any idea ?
Best Regards.
-----Original Message-----
Hello everybody,
I have tried to write a sample Axis2 client that talks to a Web Service hosted
in Weblogic v10.3.1 which has security policy activated
(policy:Wssp1.2-2007-Https-UsernameToken-Plain.xml) but I failed.
Any idea for writing such client?
BR.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]