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. 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. Follow the steps below to create a new SOAP UI Project using the URL of the WSDL, which you copied to Clipboard. - Download and install SOAP UI.
- Open the SOAP UI application.
- Click the following SOAP button in the top menu:
- Enter a name for a new Project for Project Name, and paste the copied URL for Initial WSDL, as shown below.
- Click OK.
- 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.
- Expand the
GetWeatherfunction menu, and double-click the Request1 option in the Navigator as shown below. - Replace the values of the
<web:CityName> and <web:CountryName> properties with preferred values as shown below, to invoke the Service. - Click the following button in the Request1 window, to submit the specified request:
You view the response of the invocation as shown below.
|