Hybrid Integration 10.1 | Integrating On-Premises Applications | Document Conventions | Working with Web Services | Working with Policies
 
Working with Policies
 
Attaching a Policy to a Web Service Descriptor
Removing a Policy from a Web Service Descriptor
WS-Policy is a model and syntax you can use to communicate the policies associated with a web service. Policies describe the requirements, preferences, or capabilities of a web service. You attach a policy to a policy subject, for example, a service, endpoint, operation, or message. After attaching a policy to a policy subject, the policy subject becomes governed by that policy.
webMethods Integration Server provides support for Web Services Policy Framework (WS-Policy) Version 1.2.
In Integration Server, a policy is specified using policy expressions in an XML file called a WS-Policy file (more simply called policy file). Integration Server comes with some policy files out of the box. Additionally, you can also create policy files. For more information, see Web Services Developer’s Guide.
To have a web service governed by the policy in a WS-Policy file, you attach the policy to the web service descriptor. You can attach WS-Policies at the binding operation message type level, such as input, output, and fault, in a web service descriptor.

Copyright © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.