How to Compose a Web Service Call

To compose a Web Service call:
1. From the Stylus Studio menu bar, select File > New > Web Service Call.

Stylus Studio opens a new document in the Web Service Call Composer.

Figure 344. Web Service Call Composer

2. Type a WSDL address in the WSDL URL field, or use the UDDI button to browse UDDI registries for published Web services. See Obtaining WSDL URLs for help with this step. (Any WSDL URLs that you have used previously are displayed in the WSDL URL drop-down list.)

Web service operations for the WSDL you select are displayed in the Operations field.

3. Select the Web service operation for which you want to create a SOAP request from the Operations field.

Parameters for the operation you select are displayed in the Name field; the datatype for each parameter is displayed in the Type field. The SOAP request is displayed beneath the fields you use to define the operation's parameters.

4. Set values for the parameters:
a. Click the parameter name.
b. Type a value in the Value field.

Stylus Studio updates the SOAP request to reflect the parameter values you enter.

Alternative : You can manually edit the XML in the SOAP request. If you do, the Value field is updated automatically.

See Modifying a SOAP Request for help with this step.

5. When you have provided values for all of the parameters, click the Send Request button ( ) to test the Web service.

If it is not already open, Stylus Studio opens the Preview window and displays the SOAP response returned by the Web service, as shown in Figure 345:

Figure 345. SOAP Response

6. Optionally, save the Web service call. See Saving a Web Service Call for help with this step.

Content Management

Build Content Management systems with Stylus Studio's powerful XML publishing tools that enable you to unlock and re-use valuable content from your enterprise information repositories.

Metals, Mining & Crude-Oil Production

It can be very dark and dreary in a mine. That's why metal, mining & crude-oil production are using Stylus Studio as their light when it comes to data integration. See which of these top companies are using Stylus Studio to show them the way to XML!

XSD Editor

XSD Editor provides a synchronized split-pane interface that simultaneously shows both a visual XSD Diagram and the underlying code, with changes in one pane immediately reflected in the other

XML Applications

XML Applications are software applications that process data using standard XML technologies like XML, XML Schema, XSLT and XQuery. Using Stylus Studio XML Pipeline, learn how to model, edit, test and deploy an XML Application with ease.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member