I'm trying to do the exercise inside the documentation "Oracle API Gateway Policy Developer Guide_E65461_01.pdf"
I have a basic question but I've lost myself in this part:
Exercise: Transform a Soap WS in a Rest API using the "REST API Repository":
HTTP Get (Rest) -> Create Xml Soap -> Invoke backend Ws Soap -> XML Response -> Transform -> Json -> Response to the caller
1 - I created my Rest API
2 - I created a "Request Policy" to transform Rest -> Xml Soap
3 - I created a "Response Policy" to transform Xml Soap -> Rest
My question is related to this two parts of the documentation:
Page 79 (Request):
Set the request policy on the REST API method
Next, edit the REST API method GetStockQuote and set this policy as the request processing policy
Page 80 (Response):
Set the response policy on the REST API method
Finally, edit the REST API method GetStockQuote and set this policy as the response processing policy.
I was unable to understand this steps in the documentation since they are very short and doesn't provide any picture to illustrate it.
In the following picture:
1 - How can I edit the "REST API method" in order to set my previous two policies created ? I was unable to find how to link my Rest API Method to "My 2 custom transforming policies"
2 - What policy should be specified at the Routing tab?
- I specified to be called the WS Auto Generated Policy. Is it correct?
Thank you guys,