| Author |
Using UnManaged Web Services Client with WS-Policy
|
Sean Hetfield
Ranch Hand
Joined: Dec 01, 2003
Posts: 83
|
|
Does anyone have any information or reference about How to use the WS-Policy with UnManaged Web Services Client?
Thanks
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
Do you mean configuring a web service client to use the policy provided by the service provider dynamically at runtime?
|
 |
Sean Hetfield
Ranch Hand
Joined: Dec 01, 2003
Posts: 83
|
|
Yes. That's correct.
If it's Managed Web Service Client using WebSphere Application Server, I know how to configure it.
But if the client is UnManaged, I'm not sure how to proceed.
Thanks
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Ah, I think I get it - you want a standalone client, not one that runs in a WebSphere application server, to configure itself according to WS-Policy provided by the web service.
It turns out that I have actually done this using the following libraries from Metro:
• webservices-api.jar
• webservices-extra-api.jar
• webservices-extra.jar
• webservices-rt.jar
• webservices-tools.jar
You can find them at: https://metro.dev.java.net/
Drop them in and they automagically take care of applying WS-Policy of the server on the (standalone) client side.
Best wishes!
|
 |
Sean Hetfield
Ranch Hand
Joined: Dec 01, 2003
Posts: 83
|
|
Thank you very much Ivan
|
 |
 |
|
|
subject: Using UnManaged Web Services Client with WS-Policy
|
|
|