Top Banner
TURN WSDL INTO CONNECTOR WITH MULESOFT SOAP CONNECT
15

Turn WSDL Into Connector With Mulesoft SOAP Connect

Apr 11, 2017

Download

Software

Jitendra Bafna
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Turn WSDL Into Connector With Mulesoft SOAP Connect

TURN WSDL INTO CONNECTOR WITH MULESOFT SOAP CONNECT

Page 2: Turn WSDL Into Connector With Mulesoft SOAP Connect

SOAP CONNECTSOAP Connect is one the fastest way to turn your wsdl's into reusable connector. This is one of the best innovative feature provide by mulesoft. It is feature of DevKit which enable the users to turn multiple wsdl's files or fetch them dynamically into reusable connector. It is one of the powerful feature provided by Mulesoft. It is one of fastest and easiest way of converting wsdl's into connector. This make the life easy for developer to come up with reusable components in less than few minutes.

There are certain scenarios where we need to call same web service again and again in various integration. Instead of consuming the web service every time, it better to have some reusable component. So mule provides SOAP Connect to achieve re-usability. Apart from re-usability, it turns wsdl's into connector within few minutes without writing any code. This is one of the classic feature of Mule ESB.

Page 3: Turn WSDL Into Connector With Mulesoft SOAP Connect

SOAP CONNECT V/S Web Service Consumer

This is one of the question arise in the mind of each developer that there is already pre installed Web Service Consumer connector then what is need of SOAP Connect.

Web Service Consumer is pre-installed connector with Anypoint studio. It is an existing connector that you can configure to point to a WSDL location for consuming a soap web service.

SOAP Connect is a DevKit wizard that creates an Anypoint Connector that connects to a specific service, which can expose multiple WSDLs of the service. It provides re-usability.

For more details on Web Service Consumer, please refer one of my article how to consume soap based web service with mulesoft anypoint studio.

Let walk through how to turn WSDL into Connector.

Page 4: Turn WSDL Into Connector With Mulesoft SOAP Connect

Installing Maven and DevKit• Download and Unpack the Apache Maven and set path variable M2_Home to

unpack folder.

• To use Devkit, Apache Maven must be installed on your local drive.

• To confirm, if maven is properly installed on your computer. Click on Window < Preferences and Navigate Anypoint Studio < Maven < Test Maven Configuration.

Page 5: Turn WSDL Into Connector With Mulesoft SOAP Connect

Installing Maven and DevKit• To install devkit, Click Help < Install New Software...

Page 6: Turn WSDL Into Connector With Mulesoft SOAP Connect

Installing Maven and DevKit• Now, it will navigate you to new screen and click on Add. Provide Name and

Location from where you have to download and install DevKit.

Page 7: Turn WSDL Into Connector With Mulesoft SOAP Connect

Installing Maven and DevKit• Click on OK and the Select All. Finally click on Finish and it will install DevKit for

you.

Page 8: Turn WSDL Into Connector With Mulesoft SOAP Connect

Creating Anypoint Connector Project• Once Maven and DevKit is installed, then you are all set to turn your WSDL into

Connector.

• Click on File < New < Anypoint Connector Project

Page 9: Turn WSDL Into Connector With Mulesoft SOAP Connect

Creating Anypoint Connector Project• Now, you will be navigated to new screen. Provide Connector Name as per your

requirement and click on Add WSDL. Once you click on add wsdl it will open pop-up window. You can see 2 option From WSDL file or URL (i.e. you can dynamically fetch the wsdl) and From Folder (i.e. local folder path to WSDL). Click OK.

Page 10: Turn WSDL Into Connector With Mulesoft SOAP Connect

Creating Anypoint Connector Project• Now it will open new screen and select SOAP Connect. Click Next.

Page 11: Turn WSDL Into Connector With Mulesoft SOAP Connect

Creating Anypoint Connector Project• Finally click on Finish and it will generate all code for you depending on WSDL.

Page 12: Turn WSDL Into Connector With Mulesoft SOAP Connect

Install Or Update Connector• In explorer pane, right click on project then select Anypoint Connector < Install

Or Update. This will install your connector into mule design palette.

Page 13: Turn WSDL Into Connector With Mulesoft SOAP Connect

Install Or Update Connector• In explorer pane, right click on project then select Anypoint Connector < Install

Or Update. This will install your connector into mule design palette.

• Now, you can use the connector into your flow. Just you need to follow this simple steps to turn your wsdl into connector. This will hardly take less than few minutes.

Page 14: Turn WSDL Into Connector With Mulesoft SOAP Connect

ConclusionMulesoft provide various powerful features. One of the feature is SOAP Connect which turn your WSDL into connector and install in Mule design palette within less than few minutes. This can be reuse across many applications. It is very easy and intuitive ways of converting the WSDL into connector.

Page 15: Turn WSDL Into Connector With Mulesoft SOAP Connect

THANK YOU.