Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using UnManaged Web Services Client with WS-Policy

 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Does anyone have any information or reference about How to use the WS-Policy with UnManaged Web Services Client?

Thanks
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Ivan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic