- Creating the connector
We have to head to Connectors page, click on New Connector button and pick SOAP sub menu.
In the popup we need to fill some information including the SOAP web service URL.
We are going to use a public weather service:
Our connector has been created. Now we can configure settings like connection timeout or add security policies.
In this example we are not going to add any extra setting so we can continue to the last step, Test.
As you can see although this is a SOAP web service, the tester let us introduce a JSON payload.
This is one of the great things of MCS, the SOAP Connector uses a JSON translator and transforms automatically the JSON that we are going to use to the xml that the SOAP web service needs.
Now if we set a zip code into the JSON and click on Test Endpoint we can see that the web service returns us the weather of that zip code.