Calling SOAP Web Service

This section provides a tutorial example on how to call SOAP Web service by submitting a test request to the server represented by the port location defined in the WSDL document

With the request template generated by SoapUI as shown in the previous tutorial, we can replace question marks with real values in the template and call the SOAP Web service.

1. Double-click on "Request 1" below the "Hello" method of the "helloBinding". You will see a SOAP Web service request and response windows shows up.

2. Go to the request template displayed in the request area. And replace the question mark "?" with "Hello from client.":

      <ser:HelloRequest>Hello from client.</ser:HelloRequest>

3. Look at the icon area below the title bar of the request windows, the port location,, provided in the WSDL document is displayed.

3. Click the triangle icon, the one that says "Submit request to specified endpoint URL". In a second or two, the SOAP response received from the Hello Web service server will be displayed:

         Hello from server -

The picture below shows you the request and response message. The "Submit" icon is highlighted too.

SOAP Web Service Request Call
SOAP Web Service Request Call

Congratulations! We have successfully created a REST project and made a request call to the REST web service.

Table of Contents

 About This Book

 SoapUI - Web Service Testing Tool

SOAP Web Service and SoapUI

 What Is SOAP Web Service

 What Is WSDL Document

 A Sample WSDL 2.0 Document

 Creating SOAP Project with WSDL

 SOAP Project Interface Viewer

 SOAP Web Service Request Template

Calling SOAP Web Service

 HTTP Request and Response Raw Data

 REST Web Service and SoapUI

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 Currency Exchange Rate

 Currency Converter by

 Bitcoin Blockchain Data API (or Explorer)

 flickr.interestingness.getList - Get Interesting Photos

 UUID/GUID Generator

 NumberToWords - Convert Number in Digits to Words

 TitleCaseWordsWithToken - Words to Title Case Format

 RSC - ChemSpider APIs

 Discontinued: GetCountries - Get All Countries and Territories

 Discontinued: GetCurrencies - Get Currencies from All Countries

 Discontinued: GetGMTbyCountry - Get GMT Information of a Given Country

 Discontinued: GetISD - Get ISD Phone Code of a Given Country

 Discontinued: GetCitiesByCountry - Get Cities by Country

 Discontinued: GetInfoByState - Get ZIP Codes of a Given US State

 Discontinued: GetAirportInformationByCountry - Get Airport Code by Country

 Discontinued: GetGeoIP - Get Country by IP Address

 Discontinued: ConvertTemp - Convert Temperature Unit

 Discontinued: ChangeLengthUnit - Convert Length Unit

 Discontinued: ConvertWeight - Convert Weight Unit

 Discontinued: ChangeAreaUnit - Convert Area Unit

 Discontinued: Code39 - Generate Bar Code Images in Code 39 Format

 Discontinued: GenerateBarCode - Generate Bar Code Images

 Discontinued: GetMortgagePayment - Calculate Mortgage Payment

 Discontinued: ConversionRate - Get Currency Exchange Rate

 Discontinued: GetQuote - Get Stock Quote

 Discontinued: GetSunSetRiseTime - Get Sunrise and Sunset Time

 Discontinued: GetWeatherByZipCode - Get Weather by ZIP Code in US

 Discontinued: getTime - Get the Current Time

 Discontinued: questionSearch - Search Yahoo! Questions and Answers

 Discontinued: Hotwire - Get Travel Ticker Deals

 Archived Tutorials


 Full Version in PDF/EPUB