This is the general syntax for invoking Web service operations using the RUN statement:

RUN operationName IN hPortType[ ASYNCHRONOUS ... ]
  [ ( parameter[ , parameter]... ) ]
  [ NO-ERROR ] .

As indicated, this statement invokes a Web service operation with the specified name (operationName) defined in the port type mapped to the specified procedure object handle (hPortType), passing any parameters with data types specified in the order they are defined for the operation by the WSDL Analyzer. For an example of this syntax, see the sample WSDL Analyzer code in Figure 1.

Also, you can invoke any operation using the RUN statement either synchronously or asynchronously. For more information on asynchronous invocation for Web service operations, see Managing asynchronous requests. For complete information on the RUN statement syntax, see OpenEdge Development: ABL Reference.