Proxy Existing SOAP Web Service
-
Upload
vince-soliza -
Category
Software
-
view
557 -
download
0
Transcript of Proxy Existing SOAP Web Service
![Page 1: Proxy Existing SOAP Web Service](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/1.jpg)
PROXY A SOAP WEB SERVICEWITH MULESOFT API GATEWAY
Vince Jason Soliza
![Page 2: Proxy Existing SOAP Web Service](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/2.jpg)
Pre-requisites
• Configure and Run On-Premise API Gateway– http://www.slideshare.net/VinceSoliza/onpremise-api-gateway-58451080
![Page 3: Proxy Existing SOAP Web Service](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/3.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/4.jpg)
API Administration
![Page 5: Proxy Existing SOAP Web Service](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/7.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062316/5871b4c51a28abda6a8b7699/html5/thumbnails/10.jpg)
QUESTIONS?Please leave a comment