Validating and Inspecting WSDL Documents

This section provides a tutorial example on validating and inspecting a WSDL 1.1 document using soapUI 3.0.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: \herong\Hello_WSDL_11_SOAP.wdsl
Create Requests: unchecked
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 on "helloBinding" inside "helloProject", binding properties show up. "SOAP Version: SOAP 1.1" in the properties list confirms that I am using the SOAP 1.1 binding.

5. Click on "Hello" inside "helloBinding", operation properties show up:

SOAPAction: http://www.herongyang.com/Service/Hello
Operation: Hello
Style: Document
Type: Request-Response
Input: helloInput
Output: helloOutput
Sends Attachments: false
Receives Attachments: false

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

Last update: 2009.

Table of Contents

 About This Book

 Introduction to WSDL 2.0

 WSDL 2.0 Document Structure and Syntax

 WSDL Version 2.0 Part 2: Adjuncts

 WSDL 2.0 Document Examples with SOAP Binding

 WSDL 20 Programming APIs and Testing Tools

 Introduction to WSDL 1.1

 WSDL 1.1 Document Structure and Syntax

 WSDL 1.1 Binding Extension for SOAP 1.1

soapUI 3.0.1 - Web Service Testing Tool

 What Is soapUI 3.0.1?

 Downloading and Installing soapUI 3.0.1

Validating and Inspecting WSDL Documents

 Using Interface Viewer on Bindings

 Generating HTML Documentations On Bindings

 Generating Test Requests on Operations

 Submit Test Requests to the Server

 MockService - Web Service Simulator

 Submitting Request to MockService

 Loading Incorrect WSDL Documents

 WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles

 PHP SOAP Extension in PHP 5.3.1

 Using WSDL in Perl with SOAP::Lite 0.710

 Using WSDL Document in Java with Axis2 1.4.1

 Using WSDL2Java to Generate Web Service Stub Classes

 WSDL 1.1 Binding Extension for SOAP 1.2

 WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles

 SOAP 1.2 Binding - PHP, Java and Perl Clients

 WSDL Related Terminologies

 References

 PDF Printing Version