soapUI Sample Project

You can use the soapUI web services test tool to test requests and responses through Luminate Online Web Services. This sample project file can be loaded in soapUI to demonstrate several different types of request.

The sample project file covers the following requests: Login request, Query request, GetServerTime, Start Sync, Create request, Update request.

Setting up and Configuring soapUI

  1. Download the project file: Convio_Web_Services-soapui-project.xml
  2. Download soapUI from http://www.soapui.org There are both a Windows installer and a platform-independent binary available for download.
  3. Run the Windows installer or unzip the binaries to set up soapUI on your system.
  4. Start SoapUI.
  5. From the File menu, select Import Project. In the dialog, browse to the location where you saved the project and select the file: "Convio_Web_Services-soapui-project.xml"
  6. After the project is loaded, expand the project tree (click on the 'plus' sign next to "Convio_Web_Services").
  7. Double click on the SoapBinding. This will load the "SoapBinding" window.
  8. On the Service Endpoints tab set the Endpoint for your Luminate Online Web Services server: (ex: http://cms200.convio.com:9090/1.0/bvt107)
    • Click the Assign button to pop up the "Assign Endpoint" dialog.
    • Select "All Requests and Test Requests" from the dropdown list.
    • Click OK.
  9. On the WSDL Content tab set the WSDL location, by clicking the Reload button in the dialog's tool bar (the square button containing a "cycle" icon). In the resulting dialog, enter the Definition URL. This can be the URL of the WSDL on your CWS server (http://cms200.convio.com:9090/1.0/bvt107/wsdl) or the local or of a local saved copy of the WSDL (wsdl.xml).
Note: The current project file uses an endpoint of: http://cms200.convio.com:9090/1.0/bvt107 and a WSDL location: http://cms200.convio.com:9090/1.0/bvt107/wsdl. You must change these to the appropriate endpoint and WSDL URIs for your Luminate Online Web Services server.

Running the tests

Once the Project file is loaded and the endpoint and WSDL definition are configured you can run the suites to illustrate each sample request. Each sample is broken into "suites" (a green check box next to the name defines each suite).

  1. Double click on the suite name (ex: "Query Example")
  2. Click the Green "Start" arrow at the top to execute all the commands in the suite.
  3. The icons should turn green, and the progress bar at the top should be green and read "Finished." If any of the commands are colored red, there was a failure, you need to check the configuration or the status of the web services server.

After the commands have executed, double click on a request command (it should have a green icon now) to view the XML request and response message (for example: "Login Request"). The SOAP command request window will show the full request message on the left and the response message on the right.

Comments

Submitted by Giri at 04:22 AM on January 3, 2013
thanks a lot for this useful information
Submitted by Siva at 05:35 PM on October 17, 2012
Thanks, it helped me for startup

Leave a Comment

Nickname
Comment
Enter this word: