What Is SOAP Web Service?

This section describes SOAP Web services, which are implemented using the SOAP (Simple Object Access Protocol).

What is SOAP Web Service? A SOAP Web service is a Web service implemented using the SOAP protocol.

SOAP (Simple Object Access Protocol) is a communication protocol that defines how a message should be constructed, transmitted from one node to another, and processed by each node as shown in the following diagram:

SOAP node          
 |
 | Construct an initial SOAP message
 | Bind the initial message for transmission
 | Transmit the initial message
 v
 ----------> SOAP node
              |  
              | Receive the initial message
              | Process some part of the initial message
              | Reconstruct an intermediate SOAP message
              | Bind the intermediate message for transmission
              | Transmit the intermediate message
              v
              ----------> SOAP node
                           |
                           | ...
                           v
                           ----------> SOAP node 
                                        |
                                        | Receive the final message
                                        | Process the final message
                                        v
                                        Done 

The current version of SOAP is SOAP 1.2 specification, which is divided into two parts.

SOAP part 1 defines the SOAP messaging framework, which contains the following key concepts:

SOAP part 2 defines a set of adjuncts that can be used to extend the SOAP messaging framework:

Last update: 2015.

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

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 getTime - Get the Current Time

 GetSunSetRiseTime - Get Sunrise and Sunset Time

 GetWeatherByZipCode - Get Weather by ZIP Code in US

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 questionSearch - Search Yahoo! Questions and Answers

 flickr.interestingness.getList - Get Interesting Photos

 Hotwire - Get Travel Ticker Deals

 Outdated Tutorials

 References

 PDF Printing Version