How do I transform a response using Invoke webMethods IS policy?
About this task
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 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 API Gateway with the created IS Service.
- The client sends the request to API Gateway.
- API Gateway forwards the request to native API.
- Native API processes the request and sends the response to API Gateway.
- 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.
- API Gateway forwards the transformed response to the client
To configure Invoke webMethods IS policy in the Response Processing stage: