Free Web Services - Herong's Tutorial Examples - Version 1.11, by Dr. Herong Yang

Validating and Inspecting WSDL Documents

This section provides a tutorial example on validating and Inspecting a WSDL 1.1 document using soapUI 3.6.1

One important function of soapUI is to validate and inspect WSDL documents. Here is what I did to validate and inspect my first WSDL document, Hello_WSDL_11_SOAP.wsdl.

1. Run soapUI and click "File" > "New soapUI Project"

2. On the dialog box, enter these values:

Project Name: helloProject
Initial WSDL/WADL: 
   http://www.herongyang.com/Service/Hello_WSDL_11_SOAP.wsdl
Create Requests: checked
Create TestSuite: unchecked
Create MockService: unchecked
Add REST Service: unchecked
Relative Paths: unchecked

3. Click OK. soapUI will validate and import the specified WSDL document.

4. When importing is done, "helloProject" is created and displayed on the left of the windows. There should be no importing error, because Hello_WSDL_11_SOAP.wsdl is valid WSDL document.

5. Click to open all sub objects under the project "helloProject", you should see the "helloBinding" interface, the "Hello" method, and a sample request "Request 1" as shown in this picture:
soapUI 3.6.1 Interface View

Very nice. My Hello_WSDL_11_SOAP.wdsl has been validated and imported correctly. soapUI allows you to inspect interface properties and operation properties.

Last update: 2011.

Table of Contents

 About This Book

soapUI 3.6.1 - Web Service Testing Tool

 What Is soapUI 3.6.1?

 Downloading and Installing soapUI 3.6.1

Validating and Inspecting WSDL Documents

 Using Interface Viewer on Bindings

 Generating Test Requests on Operations

 Submit Test Requests to the Server

 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 Airport Code by Country

 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

 References

 Printable Copy - PDF Version

Validating and Inspecting WSDL Documents - Updated in 2011, by Dr. Herong Yang