« Return to Thread: Can I load WS-Policy files in Java instead of XML?

Re: Can I load WS-Policy files in Java instead of XML?

by Glen Mazza :: Rate this Message:

Reply to Author | View in Thread

Just in case you might have missed something, take a look at the client-side configuration for Metro I've given for UsernameToken and X509 profiles:
(Item #7 in the article list here:)  http://www.jroller.com/gmazza/entry/creating_a_wsdl_first_web1#WFsitemap

If nothing, including what I did above, is working for you on JBoss, the CXF client-side configuration (same link above) does not rely on WS-Policy files, so perhaps that framework might work for you.

Glen  

metro-3 wrote:
More searching, but still haven't found anything, though examples of configuring clients with policy files via code seem to exist for JBossWS, Axis 2 and Oracle (the last of which even seems to support it via annotations).  

Is this a limitation of Metro, or am I just overlooking something?

 « Return to Thread: Can I load WS-Policy files in Java instead of XML?