Web service operation management

This section includes the procedures used to manage the operations (methods) of a Web service.

Overloaded methods

If you deploy a Web service that contains overloaded methods, the management console 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).

StepsViewing or modifying Web service operation properties

  1. Select the Web service collection and Web service you want to view or modify.

  2. Highlight the Operations folder.

  3. Select the General tab to view the Web service Operations properties. See Table 5-4 for a description of the Web service properties.

StepsInvoking an operation

  1. Select the Web service collection and Web service that contains the operation you want to invoke.

  2. Highlight the Operations folder.

  3. Right-click the operation and select Invoke.

  4. If a role is assigned to the operation, you may need to provide a user name and password to invoke the operation:

    If a role is not assigned to a Web service operation, you do not need to provide a user name or password to invoke it. If a role is assigned to the Web service operation, you must provide a valid user name and password for a user within the assigned role.

Table 5-4 describes the Web service operation properties.

Table 5-4: Web service operation properties

Property type

Property

Description

General

Name

The name of the operation.

Use

Indicates whether the message parts are encoded using some encoding rules, or whether the parts define the concrete schema of the message. If use is encoded, then the Encoding Style specifies the encoding style to be applied.

Encoding Style

Specify the SOAP encoding style. Each encoding style is identified using a list of URIs. For example, http://schemas.xmlsoap.org/soap/encoding/ identifies SOAP encoding as defined by the SOAP specification.

Return Type

Specifies the return type of the method.

Return Name

Specifies the name of the return type.

Is Return Value In Response

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.

Is Allowed

True or false. Determines whether or not the method is available to a client as a Web service endpoint.