1) WSDL2Java does not support WS-Policy.
2) You should use these versions of WS-Policy and WS-SecurityPolicy:
              xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";
              xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy";
3) Code for enforcing policy should be implemented as modules in
Axis2, not as code in your client.
4) Use Rampart

Anne

On 8/7/06, Viktor Zeltser <[EMAIL PROTECTED]> wrote:
Hello,

Where could I find example of wsdl document with ws-policy attached, that makes 
wsdl2java to produce proper stub.
I've tried to make some, but wsdl2java seems to ignore my policies and produces 
the code that is not different from same wsdl without policies.
Both wsdls attached. I've used command like that:
WSDL2Java.bat -o ./result -s -r 
C:\TUTS\geronimo-1.1\repository\default\axis2\1153686468506\axis2-1153686468506.war\WEB-INF
 -uri CMSService-Pol.wsdl

If somebody colud tell me what I'm doing wrong or point me to some working 
example I would be most gratefull.

Thank you very much,

Viktor [EMAIL PROTECTED]




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




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

Reply via email to