Prototypes for service access

When you specify parameters in a function prototype to access a service, you must follow the rules described here.
An Interface part is used for service access and includes function prototypes such as the following one:
Function GetEmployeeDetail(employeeCode STRING IN,                             
                           employeeSalary FLOAT OUT,
                           employeeStatus STRING INOUT)
         returns(myEmployeeRecordPart);
If the prototype is used to access an EGL REST-RPC service, the following rules apply:

If the prototype is used to access a SOAP service, the prototype can include IN, OUT, and INOUT parameters.

If the prototype is used to access a third-party REST service, the following rules apply:
If the prototype is used to directly access an IBM® i service program by way of a native binding, the following rules apply:

Feedback