If you wish to use it with rampart, you may load rampart specific
configuration (certificate config, password, etc) from code.
serviceClient.getAxisService
().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY,
loadRampartPolicy());

Thanks! It works. On the server side, should I have the policy in both
services.xml and the WSDL?

-----
--
Kent Tong
Wicket tutorials freely available at http://www.agileskills2.org/EWDW
-- 
View this message in context: 
http://www.nabble.com/-axis2--rampart-and-ws-policy-tp14247537p14266742.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to