How to create 1 Rest API Proxy to call 3 Operations from two different SOAP Web services

Former Community Member
Not applicable

Hi,

If there are two SOAP Webservices already existing and I need to create a Rest API Proxy with 1 resource on APIGEE, could you share any experience on how to implement this?

Here are the details of the existing web services:

SOAP Webservice 1 - operation1, operation2

SOAP Webservice 2 - Operation1

This 1 resource in Rest API should encapsulate all the 3 SOAP Web service calls and return a response. Workflow is:8806-test.png

0 2 122
2 REPLIES 2

One way to go about doing this would be to use WS2 as the target service of your API proxy, and then add 2 service callouts to invoke WS1 operations 1 & 2, respectively. If you use the proxy wizard to build a REST to SOAP proxy, that will give you a good indication on how to build your requests when invoking the other web service

Handy links:

https://docs.apigee.com/api-platform/develop/exposing-soap-service-api-proxy

https://docs.apigee.com/api-platform/develop/shaping-and-converting-messages

https://docs.apigee.com/api-platform/reference/policies/service-callout-policy