Signature of Web Service SOAP-ENVELOPE user exit functions
The signature of these functions are:
Function_Name(char ** SOAP-ENVELOP, int * SOAP-ENVELOPlength)
LINKAGE SECTION. 01 SOAP-ENV pic x any length. 01 SOAP-ENVptr pointer. 01 SOAP-ENVlen pic s9(9) COMP-5 . *> = int PROCEDURE DIVISION. EXIT PROGRAM. … ENTRY "exit-soap-request" using By reference SOAP-ENVptr By reference SOAP-ENVlen. . Set address of SOAP-ENV to SOAP-ENVptr … EXIT PROGRAM. ENTRY "exit-soap-response" using By reference SOAP-ENVptr By reference SOAP-ENVlen. . Set address of SOAP-ENV to SOAP-ENVptr … EXIT PROGRAM.
The variables SOAP-ENVELOP and SOAP-ENVELOPlength are, using IMTK terminology, I/O parameters: