soap to rest endpoint conversion help needed?.

Not applicable

Hi Team,

I am using apigee to convert soap to rest endpoint as mentioned below.

1.login to https://community.apigee.com/ 2. select api proxy, click + api proxy button 3. selected SOAP serviceCreate a RESTful or pass-through proxy for a SOAP service. 4. entered a valid wsdl (url and file both i tried) Proxy Name, Proxy Base Path are autopopulated 5. Build a proxy shows API Proxy Type as REST to SOAP to REST here i can see ex:/itemsearch as 'Rest Endpoint 6. security i have chosen 'pass through none' and also OAuth 2.0

Could you kindly help with testing the rest endpoint generated with this Soap to rest endpoint generation.

I also cannot see any java classes generated.

0 5 272
5 REPLIES 5

Creating an API Proxy in Apigee doesn't generate any java classes.

When creating a SOAP based API Proxy, Apigee includes a number of default policies that will mediate between SOAP and REST for you.

You should be able to point your favorite rest client at the generated REST Api path to start testing. Look at the URL your API Proxy is exposed on, and during the wizard it should have listed the generated http methods and rest paths, otherwise refer to the flows in your proxy

thanks, but whcih url to form to test the rest api endpoint

whether from

1. deployments URL there is url

2. proxy endpoints there are like (/cartget)

3. or from target endpoints.

please guide if there is step by step guide.

sidd-harth
Participant V

Hi @shashank user, watch the video in this doc,

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

Once the proxy is deployed, click on Overview tab and click URL under the Deployment tab.

7881-screenshot-5.jpg

Along with this URL you also need to give a ResourceURI and any optional queryParams/headers/uriParams required for the operation.

Provide a sample SOAP Service for detailed answer or just go through,

https://docs.apigee.com/api-platform/tutorials/proxy-soap-service#whatyoullneed

Thanks, this reference link was usefull.

Further to this, I have few questions.

Currently I am doing a Poc to validate soap to rest conversion.

1. I want to know do we need to be aware of application domain of the service I are trying to route through Apigee?.

If so what is it,please guide me.

2.Can we onboard any application(I mean sample POC application or real-time application) in apigee?.

Thanks in advance.

regards,

shashank

Hi there. Unfortunately I don't quite understand your questions.

Please note that once your proxy has been created deployed, it's automatically exposed on the deployment URL as per Siddarth's post. This means your applications can now start sending their REST requests to the API Proxy on the deployed URL and Apigee will use that request to then invoke your SOAP backend, and mediate the response back to JSON to the consuming client.

Hope this helps.