Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleInvoking a SOAP Service Using SOAP UI

Adding the SOAP Service

This example uses a publicly available live SOAP service sample. For instructions on adding this SOAP Service to WSO2 G-Reg using the underlying WSDL file, see Adding a SOAP Service. 

Copying the URL of the WSDL

You need the URL of the SOAP Service you added to invoke it using the SOAP UI. For instructions on copying the URL of the WSDL to Clipboard, see Copying the URL of the content.

Invoking the Service using a SOAP UI Project

Follow the steps below to create a new SOAP UI Project using the URL of the WSDL, which you copied to Clipboard.

  1. Download and install SOAP UI.
  2. Open the SOAP UI application.
  3. Click the following SOAP button in the top menu: 
  4. Enter a name for a new Project for Project Name, and paste the copied URL for Initial WSDL, as shown below.
    adding a new SOAP project
  5. Click OK.
  6. Enter the credentials that you use to log in to WSO2 G-Reg as authentication details for the WSDL as shown below, and then click OK.
  7. Expand the GetWeatherfunction menu, and double-click the Request1 option in the Navigator as shown below.
    Projects menu
  8. Replace the values of the <web:CityName> and <web:CountryName> properties with preferred values as shown below, to invoke the Service.
    send the request to invoke the Service
  9. Click the following button in the Request1 window, to submit the specified request: 
    submit request buttonYou view the response of the invocation as shown below.
    response of the invocation

...