How do I transform a request using Invoke webMethods IS policy?
About this task
Use the Invoke webMethods IS policy to modify the contents of an incoming request such as headers, payload, query parameters, path parameters, HTTP method using the configurations given by the API Provider.
The Invoke webMethods IS workflow is as follows:
- The API Provider creates an IS Service in Integration Server in which webMethods API Gateway is running. The API Provider configures the IS Service to transform the request contents as per their need.
- The API Provider configures the Invoke webMethods IS policy in the Request Processing stage of webMethods API Gateway with the created IS Service.
- The client sends the request to webMethods API Gateway.
- webMethods API Gateway invokes the webMethods IS Service configured by the API Provider. The IS Service transforms the request contents as defined by the API Provider.
- webMethods API Gateway sends the transformed request to the native API.
- Native API processes the transformed request and sends the response to webMethods API Gateway.
- webMethods API Gateway forwards the response to the client.
To configure Invoke webMethods IS policy in the Request Processing stage: