Generating SOAP Test Request

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

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 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 - Generate SOAP Request
SoapUI - Generate SOAP Request

Here is content of the SOAP test request:

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

Table of Contents

 About This Book

 Introduction to Web Service

 Introduction to SOAP (Simple Object Access Protocol)

 SOAP Message Structure

 SOAP Message Transmission and Processing

 SOAP Data Model

 SOAP Encoding

 SOAP RPC Presentation

 SOAP Properties Model

 SOAP MEP (Message Exchange Patterns)

 SOAP HTTP Binding

 SOAP PHP Implementations

 PHP SOAP Extension Client Programs

 PHP SOAP Extension Server Programs

 PHP SOAP Web Service Example - getTemp

 SOAP Perl Implementations

 Perl SOAP::Lite - SOAP Server-Client Communication Module

 Perl Socket Test Program for HTTP and SOAP

 Perl SOAP::Lite for NumberToWords SOAP 1.1 Web Service

 Perl SOAP::Lite for SOAP 1.2 Web Services

 Perl SOAP::Lite for WSDL

 Python SOAP Client: Zeep

 SOAP Java Implementations

 Java Socket and HttpURLConnection for SOAP

 SAAJ - SOAP with Attachments API for Java

SoapUI - SOAP Web Service Testing Tool

 What Is SoapUI

 Downloading and Installing SoapUI

 Validating and Inspecting WSDL Documents

 Using Interface Viewer on Bindings

Generating SOAP Test Request

 Submitting SOAP Test Requests to Server

 WS-Security - SOAP Message Security Extension

 WS-Security X.509 Certificate Token

 Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service

 Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services

 Perl SOAP::Lite 0.710 for WSDL

 Web Services and SOAP Terminology

 Archived Tutorials


 Full Version in PDF/EPUB