Generating Test Requests on Operations

This section provides a tutorial example on how to generate a test SOAP request against an operation defined in a WSDL document.

If you are using "SOAP over HTTP" as the transportation protocol, soapUI can help you to create a test SOAP request very quickly.

1. Run soapUI 3.0.1 and load Hello_WSDL_11_SOAP.wsdl as shown in the previous tutorial.

2. Right click on "Hello" operation in the project object tree and select "New Request". A small dialog box shows up.

3. Enter Hello_Test_Request as the request name and click OK. A sample request shows up in the request editor.

4. Enter "Hello from client." in the HelloRequest element. I got a perfect SOAP test request for my Web service, helloService, as shown here:
soapUI 3.0.1 Generate Test Request

Here is content of the test request:

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

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


 PDF Printing Version