Testing a Web Service

You can test a Web service from within Stylus Studio. Testing allows you to quickly and easily

  • Verify whether or not the Web service is available
  • Understand whether or not the Web service provides the type of information you expect and require
  • Learn about the SOAP response returned by the Web service
  • Learn how parameters you might choose to specify in a Web service call scenario affect the Web service operation

What Happens When You Test a Web Service

When you test a Web service, Stylus Studio submits the SOAP request to the WSDL URL specified in the Web service call. The result, when it is returned, is displayed in the Preview window of the Web Service Call Composer.

By default, Stylus Studio uses the HTTP transport protocol to submit the SOAP request to the WSDL server. Stylus Studio uses the proxy server specified on the local machine if one has been configured.

Other Options for Testing a Web Service

In addition to testing a Web service as described in this section, you can also create a Web service call scenario. Web service call scenarios allow you to

  • Use transport protocols besides HTTP
  • Specify overrides to the WSDL (changing the SOAP action, for example)
  • Change default settings (such as the time out value for executing SOAP requests)

See Creating a Web Service Call Scenario to learn more about Web service call scenarios.

How to Test a Web Service

To test a Web service, click the Send Request button ( ) to submit the SOAP request.

Stylus Studio displays the SOAP response in the Preview window as shown in Figure 304:

Figure 304. Testing a Web service

Single Source Publishing

Single source publishing is the ability to use one source of information for generating multiple types of output. Stylus Studio XML Publishing enables Single Source Publishing - publish PDF or HTML documents from Relational, XML or Legacy files.

Export HTML to XML

Export HTML to XML with the click of a button - simplify migration of legacy HTML code to industry standard XML technologies with Stylus Studio.

ETL - Extract, Transform, Load

Designing Extract, Load and Tranform (ETL) applications including ETL data warehousing, etl design and etl programming is easy with Stylus Studio's XML and ETL Tools. Start ETL Programming today.

Learn XQuery in 10 Minutes, by Dr. Michael Kay - An XQuery Tutorial

Learn XQuery in 10 Minutes By Dr. Michael Kay is for all those people who really want to know what XQuery is, but don't have the time to find out. It's the fastest XQuery tutorial on the planet - read it now!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member