com.WebOperation methods

Methods for the com.WebOperation class.

Table 1. Class methods
Name Description
com.WebOperation.CreateRPCStyle(
   function STRING,
   operation STRING,
   input RECORD,
   output RECORD)
  RETURNING result com.WebOperation
Creates a new Web Operation object with RPC style.
com.WebOperation.CreateDOCStyle(
   function STRING,
   operation STRING,
   input RECORD,
   output RECORD)
  RETURNING result com.WebOperation
Creates a new Web Operation object with Document style.
com.WebOperation.CreateOneWayRPCStyle(
   function STRING,
   operation STRING,
   input RECORD)
  RETURNING result com.WebOperation
Creates a new Web Operation object with One-Way RPC style.
com.WebOperation.CreateOneWayDOCStyle(
   function STRING,
   operation STRING,
   input RECORD)
  RETURNING result com.WebOperation
Creates a new Web Operation object with One-Way DOC style.
Table 2. Object methods
Name Description
setInputEncoded(
   encoded BOOLEAN )
Defines the encoding mechanism for Web Operation input parameters.
setOutputEncoded(
   encoded BOOLEAN )
Defines the encoding mechanism for Web Operation output parameters.
addInputHeader(
   header header-type )
Adds an input header for the current Web Operation definition.
addOutputHeader(
   header header-type )
Adds an output header for the current Web Operation definition.
addFault(
   fault fault-type,
   wsaaction STRING )
Adds a fault to the current Web Operation definition.
setInputAction(
   ident STRING )
Sets the WS-Addressing action identifier of the input operation.
setOutputAction(
   ident STRING )
Sets the WS-Addressing action identifier of the output operation.
setComment(
   comment STRING )
Sets the comment for the Web Operation object.
initiateSession(
   initiator BOOLEAN )
Defines the Web Operation as session initiator.