tnx for your reply.
maybe I'm wrong but in your examples I don't find a way to add a
<wsp:policy> to an exist wsdl.
Now I'm trying to read the wsdl with "javax.wsdl.Definition" to add the
security namespace
    wsdlDefinition.addNamespace("wsp",
"http://schemas.xmlsoap.org/ws/2004/09/policy";);
    wsdlDefinition.addNamespace("sp",
"http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";);
and <wsp:policy>...</wsp:policy>.

Ok for the namespace...  but I've some problem with "policy tag".

Is it the best way or suggest another way?


Regars,
matpil



--
View this message in context: 
http://cxf.547215.n5.nabble.com/add-security-policy-to-wsdl-dynamically-tp5726642p5726713.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to