I am required to expose a service in webMethods i.e. webMethods is going to be the provider of the service. I am supposed to secure the webservice with a username token policy. Does anyone know how I can handle the username token parameters sent by the consumer?
I could only find information on adding handlers to consumer desriptors on this forum. Thanks for helping out!!
pls review the Web_Services_Developers_Guide, it should give you enough info to start with.
If you have specific issue/question, you can raise it to the forum.
Basheer – Did you finish this task ? Can you share sample policy file over here which will be useful to others. In my environment I can see Username_Signature, Username_Over_Transport & Username_Encryption files.
I was able to add the policy by placing the policy file in this location:
…/IntegrationServer/instances/default/config/wss/policies/
I have attached the policy file to be placed in this location. After you have done this, you may need to restart your server for the policy to reflect in designer.
After this, open the provider WSD in designer, click on policies tab, right click and select the username token policy you have just added and save. Your webservice is now secure with a username token policy.