REST to SOAP

Not applicable

Is there a suitable way to expose a REST API as SOAP? We have a REST endpoint. However, a consuming application cannot consume REST, only SOAP. Trying to determine whether this is doable, perhaps through a Javascript callout.

Has anyone done anything like this?

0 1 1,873
1 REPLY 1

@KeithEhrhard , Welcome to Apigee Community !

You can do that in Apigee Edge just like SOAP to REST using policies like Assign Message & Few other. But, The bigger question is do you really want to do that ? Sometimes it does make sense to expose both REST & SOAP endpoints till the time App upgrades to REST interface.

You will have full control of Request & Response in Apigee. You can take the SOAP payload, convert into rest & Take JSON / XML payload & convert into SOAP Response in Apigee using policies like AssignMessage and others.

It's like more or less going backward. I would suggest upgrading your App then building REST to SOAP in Apigee.