Making SOAP calls with SoapUI - 8.0

Talend ESB Development Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Last publication date
2024-03-13

About this task

In this section, soapUI is used to make SOAP calls to the Talend ESB-hosted web service created in the previous section. Following the SoapUI's detailed tutorial is recommended for a full understanding of this tool's capabilities.

Procedure

  1. (Optional) From your browser, you may want to save the service WSDL to a file, such as helloWorld.wsdl, for subsequent usage by SoapUI. However, SoapUI can also easily read WSDLs from HTTP URLs such as http://localhost:9000/helloWorld?wsdl.
  2. Start SoapUI and select the menu item File > New soapUI Project.
  3. Enter a name for the project and the web service's URL either from a file or HTTP location, then click OK.

    Example

  4. Expand the project node. Under the HelloWorldImplSoapBinding, you can see the web service's sayHi operation and a Request 1 tree item to enter your web service request:
    1. Double-click the Request 1 item, and in the SOAP request message that pops up in the right-side window, enter a name in the <arg0></arg0> element.
    2. Select the green arrow in the SOAP request message window to make the SOAP call. You will see the SOAP response from the server appear:

    Example

    You can make additional calls by editing the request window and pressing the green arrow.