Creating SOAP Project with WSDL

This section provides a tutorial example on how to create SOAP project automatically by loading a WSDL document URL.

If you have a SOAP Web service that is defined in a WSDL document, you can use SoapUI to load the WSDL document and automatically create a new project with SOAP request templates to test the Web service.

Here is what I did to load a sample WSDL document, Hello_WSDL_11_SOAP.wsdl into SoapUI 5.2 and let it creating a project automatically to test a SOAP Web service:

1. Run SoapUI and click "File" > "New SOAP Project". You will see the "New SOAP Project" dialog box.

2. On the dialog box, enter these values:

Project Name: HelloSOAP
Initial WSDL: 
   http://www.herongyang.com/Service/Hello_WSDL_11_SOAP.wsdl
Create Requests: checked
Create TestSuite: checked
Relative Paths: unchecked

3. Click OK. SoapUI load the specified WSDL document.

4. When loading is done, SoapUI will prompt to ask for confirmation to create TestSuite.

5. Click "OK" to confirm and take the default TestSuite name.

When the TestSuite is created, you will see two items displayed under the "HelloSOAP" project:

The picture below shows the "HelloSOAP" project generated by loading a WSDL document that defines a SOAP Web service. The request template "Request 1" is open on the right side of the window.

SOAP Project Created with WSDL
SOAP Project Created with WSDL

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