ProductivityAndFun Download Trial - Free 14 day evaluation

Web Service Sample Project - Web Service Inspection

PDF Print E-mail
User Rating:  / 140
Rate this article: PoorBest 

2) Web Service Inspection

Introduction

Web Service Inspection a fancy way of saying looking at the Web Service. Good support for Web Service inspection can be very important early in your testing process when you want to find out how a Web Service works.

Inspecting the Web Service can be done in two ways; inspecting the Web Service and making Web Service requests.

Tutorial

  1. Let's start by some Inspection. Go to the Interface Inspector by double clicking the SampleServiceSoapBinding node. You will see the Interface Inspector open on the soapUI desktop.
  2. This is is a structured way of looking at your WSDL. Just browsing the XML of the WSDL is very cluttered and a WSDL often is to complicated too look at in its entirety and therefore it is seldom done, resulting in lower WSDL understanding. In other words, since WSDL's are so complicated people don't read it, and remember, the WSDL is the specification (contract actually, bet let's not get into that...) and how well you use it depends on how well you understand it. This is a serious problem early on in projects, the people in the project don't understand the Contract. The soapUI Interface Viewer is a great tool for solving this problem.

    Now let's Inspect the Web Service. Inspect the Sample Project WSDL by double clicking the SampleServiceSoapBinding Interface Icon. Use the Interface Viewer to familiarize yourself with the WSDL, the move on to Web Service Requests.
    WSDL Inspection in soapUI

  3. Expand the "login" and double click on Request1. You will see loginRequest open on the soapUI desktop. The request already uses the username Login and the password Login123
  4. Click on the Run button run to submit the request.
  5. You should now see response on the response panel
    Test Request in web service Simulation
Pro:

you can click on the different tabs to view response in different format.


Go to Article Page: Go to Previous Page 1 2 3 4 5 Go to Next Page