This section describes how to manage Web service operations (or methods). These procedures require that you:
Expand the Web service collection.
Expand the Web service.
Expand the operations folder.
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.
This procedure invokes an operation of the Web service to which it belongs.
Right-click the operation and then select Invoke.
Table 4-5 describes the 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:
|
|
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. |