You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2009/07/10 01:46:53 UTC

[Axis2] Example of setting WS-SecurityPolicy on message?

Can a WS-SecurityPolicy be configured on a particular message used by a 
service? I've seen that the policy can be applied to a particular 
operation by embedding it inside the services.xml description of that 
operation, and assume the same can be done at the message level by using 
<message> child elements - but an example would be really useful in 
understand how to do this. The standard services.xml generated by 
WSDL2Java doesn't include <message> elements in any cases I've seen.

  - Dennis

-- 
Dennis M. Sosnoski
Java XML and Web Services
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117