SET-ACTOR( ) method

Sets the ACTOR attribute for this SOAP header entry.

Return type: LOGICAL

Applies to: SOAP-header-entryref object handle

Syntax

SET-ACTOR ( character )
character
A character variable containing the URI of the SOAP actor. The actor can be used to indicate the recipient of a SOAP header element.

Call this method once you have associated the XML with a SOAP header entry using the SET-NODE( ) method.

Note: In SOAP Version 1.2, the ROLE attribute replaces the SOAP Version 1.1 ACTOR attribute. If you use SET-ACTOR( ) to set the ACTOR attribute, the AVM automatically assigns the value to the ROLE attribute when accessing a SOAP Version 1.2 Web service.