Web service operation management

This section describes how to manage Web service operations (or methods). These procedures require that you:

  1. Expand the Web service collection.

  2. Expand the Web service.

  3. Expand the operations folder.

Overloaded methods

If you deploy a Web service that contains overloaded methods, the WST development tool displays only the first method of the overloaded method.

For example, if the Web service contains an overloaded method that contains the methods echo(String, String) and echo (String), the GUI displays only echo (String, String) twice, but the allowed/disallowed operation affects both echo(String, String) and echo(String).

Do not use overloaded methods or properties in PowerBuilder components that you want to expose as Web services, or the Web service fails to be exposed.components they want to use as web services.

StepsInvoking an operation

This procedure invokes an operation of the Web service to which it belongs.

  1. Right-click the operation and then select Invoke.

Table 4-5 describes the Web service operation properties.

Table 4-5: Web service operation properties

Property type

Property

Description

General

Name

The name of the operation.

Description

A description of the Web service operation.

Style

The SOAP binding style:

  • Document – indicates that the SOAP body contains an XML document, or

  • RPC (remote procedure call) – indicates that the SOAP body contains an XML representation of a method/operation call.

Return Type

Specifies the return type of the operation.

Is return value in response message

True or false.

SOAP Action

The URI for the SOAPAction HTTP header for the HTTP binding of SOAP. The SOAPAction HTTP request header field can be used to indicate the intent of the SOAP HTTP request. The URI identifies the intent.

Message Operation Style

Document, RPC, or wrapped.