Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Turn WSDL Into Connector With Mulesoft SOAP Con...

Turn WSDL Into Connector With Mulesoft SOAP Connect

Turn WSDL Into Connector With Mulesoft SOAP Connect

Jitendra Bafna

May 15, 2017
Tweet

More Decks by Jitendra Bafna

Other Decks in Technology

Transcript

  1. SOAP CONNECT SOAP 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.
  2. 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.
  3. 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.
  4. 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.
  5. Installing Maven and DevKit • Click on OK and the

    Select All. Finally click on Finish and it will install DevKit for you.
  6. 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
  7. 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.
  8. Creating Anypoint Connector Project • Now it will open new

    screen and select SOAP Connect. Click Next.
  9. Creating Anypoint Connector Project • Finally click on Finish and

    it will generate all code for you depending on WSDL.
  10. 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.
  11. 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.
  12. Conclusion Mulesoft 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.