10
PROXY A SOAP WEB SERVICE WITH MULESOFT API GATEWAY Vince Jason Soliza

Proxy Existing SOAP Web Service

Embed Size (px)

Citation preview

Page 1: Proxy Existing SOAP Web Service

PROXY A SOAP WEB SERVICEWITH MULESOFT API GATEWAY

Vince Jason Soliza

Page 3: Proxy Existing SOAP Web Service

Add New Proxy API• Login to anypoint platform.• Click on APIs menu• Click Add New API• Fill up API Details and click Add

Page 4: Proxy Existing SOAP Web Service

API Administration

Page 5: Proxy Existing SOAP Web Service

Configure Proxy API• While in API Administration, click configure endpoint.• Select Endpoint with a proxy• Change the Type to WSDL• Write the url of the SOAP service that we want to proxy. e.g. http://localhost:1234/ws/echo-ws/EchoService?wsdl

• Un-check Configure proxy for Cloudhub? since we’re deploying in on-premises• Use HTTP scheme• Enter desired port and path• Click Save & Deploy

Page 6: Proxy Existing SOAP Web Service

Deploying Proxy API• Select the environment we want to deploy. This may depends on the anypoint platform organization setup.• Select the on-premise api gateway server we previously configured.• Click Deploy Proxy.• Wait for deployment to finish successfully.

Page 7: Proxy Existing SOAP Web Service

Test Actual API• The highlighted URL is what we entered in the implementation URL in

the API proxy configure endpoint.

Page 8: Proxy Existing SOAP Web Service

Test the Proxy API• Noticed the response is the same using the proxy URL. This indicates the

proxy is working as expected.

Page 9: Proxy Existing SOAP Web Service

Summary

API Gateway acts as an orchestration layer for services and APIs implemented elsewhere, it’s technology-agnostic. You can proxy non-Mule services or APIs of any kind, as long as they expose HTTP/HTTPS, or endpoints for a Web Service Consumer.

Page 10: Proxy Existing SOAP Web Service

QUESTIONS?Please leave a comment