Configuring Web Service Consumer Connector
Web Service Consumer Connector is a connector that helps to call a SOAP-based web service using the Consume operation.
Let us see the configuration details that are required in the Consume operation. We mainly need a Web Service Definition Language (WSDL) file. This is the specification file containing SOAP web service details, such as the endpoint, request, and response structure and a list of all its operations.
In this example, we will call a SOAP-based web service that is running on the same machine. But in real time, we will call the actual web service URL to perform a specific operation.
Let us see the steps involved to call the SOAP web service:
- Create an HTTP Listener with
/soapdemo
to trigger the Mule application. - Drag and drop the Consume operation from Web Service Consumer Connector.
- In the Consume properties, provide the WSDL location and click the refresh icon in Service. It loads the remaining information...