ADD-HEADER-ENTRY( ) method

Creates a new entry in a SOAP-header object's list of entries and associates the new entry with an existing SOAP-header-entry-ref object. The method returns the handle to the new entry.

Return type: LOGICAL

Applies to: SOAP-header object handle

Syntax

ADD-HEADER-ENTRY ( header-entryref )
header-entryref
The handle to the new SOAP-header-entryref object.

Following is an example of adding a SOAP-header-entryref object to a SOAP-header object:

CREATE SOAP-HEADER hSOAPHeader.
CREATE SOAP-HEADER-ENTRYREF hshEntry.
hSOAPHeader:ADD-HEADER-ENTRY (hshEntry).