Hello.
I'm just starting to get into Web Services and have hit a roadblock when using WS-Policy files. I am able to start a service with them, but I can't figure out how to configure my client to use them.
For my service, I have created a policy file ("myPolicy.xml") and loaded it into my WebService via the @PolicyAttachment and @Policy annotations. So far so good, everything loads and deploys to my app. server properly.
I then go through the steps of building my client via wsimport. When I try to connect to the service though, I get a fault due my client not using the policies.
How can I configure my client to use the policies specified in myPolicy.xml? I'd like to avoid any additional XML files if possible, so I'm hoping for a way to do it by using something like the BindingProvider.
Thanks.
[Message sent by forum member 'oberiko' (oberiko)]
http://forums.java.net/jive/thread.jspa?messageID=353763---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...