How do I transform a response using Invoke webMethods IS policy?
Use the Invoke webMethods IS policy to modify the contents of an outgoing response 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 response contents as per their need.
- The API Provider configures the Invoke webMethods IS policy in the Response Processing stage of webMethods API Gateway with the created IS Service.
- The client sends the request to webMethods API Gateway.
- webMethods API Gateway forwards the request to native API.
- Native API processes the request and sends the response to webMethods API Gateway.
- webMethods API Gateway invokes the webMethods IS Service configured by the API Provider. The IS Service transforms the response contents as defined by the API Provider.
- webMethods API Gateway forwards the transformed response to the client
To configure Invoke webMethods IS policy in the Response Processing stage:
This Invoke
webMethods IS policy modifies the contents of an outgoing response to the
client based on the IS Service invoked.