Apigee Edge has a WSDL Import "Wizard". You can paste in a WSDL URL, and click "Import" and Apigee Edge will generate an API Proxy. But sometimes, the generated proxy is not what you want.
Maybe some of the elements in the SOAP payload should be set to default values. Maybe all of the data items should be required as query params. Maybe you want the caller to pass them as part of a JSON request body. Maybe there is some combination of those things. Maybe you want to populate the defaults from a user profile. The WSDL Importer Wizard doesn’t ask you about any of these decisions, but a smart human wants those options.
Building an API facade yourself on top of an existing SOAP is probably the better way to go for that reason. We can call it "curating" an API.
Building a custom API facade might sound daunting at first, especially compared to the friendly "next...next...next..." experience of using a Wizard. But doing the custom work is really not so terribly difficult, and you can produce *exactly* what you want, rather than settling for something kinda close to what you want. The key tools in your toolbag for this task will be:
I've created a short screencast to show how it's done.
You can open that video in a new tab by clicking here.
I'd love to hear comments from people on whether they find this approach helpful.
Hi Dino,
I have created an API which is taking soap XML as request and sending JSON to my backend and then again converting json to XML.
Its basically SOAP - REST -SOAP.
Consumer application which is based out of SOAP needs WSDL from apigee to consume it. Is it a way by which I can provide them WSDL to consume this API.
Thanks
Ankita
Hi Ankita,
This is a new question and I am glad to answer it. Please post it as a new question.
Apigee Edge - 4MV4D - Quota Policy - Message Weight - S02E05
Apigee 4MV4D - Programming of APIs - Series - The Apigee Edge - S01E02
Apigee Edge - 4MV4D - Quota Policy - Calendar Type - S02E06
Apigee 4MV4D - Programming of APIs - Series - API Proxy - S01E03
Apigee Edge - 4MV4D - Quota Policy - Rolling Window Type - S02E07
Apigee 4MV4D - Programming of APIs - Series - Request, Response, Flow Variables - S01E04
Apigee Edge - 4MV4D - Quota Policy - Flexi Type - S02E08
Apigee 4MV4D - Programming of APIs - Series - Apigee Policy - S01E07
Apigee Edge - 4MV4D - Quota Policy - Conditional Quota Count - S02E09
Apigee 4MV4D - Programming of APIs - Series - Proxy Endpoint & Target Endpoint - S01E05