Creating Custom Headers for the EAI HTTP Transport Service
Custom headers can be created when sending a request through the EAI HTTP Transport service using a script or a workflow.
To create custom headers for the EAI HTTP Transport service
Create a new input property in the input to the HTTP transport.
The name of the property must have a prefix of HDR. or HDR_ followed by the name of the custom header, for example:
httpIn.SetProperty("HDR.CustomHttpHeader","MyValue"); httpSvc.InvokeMethod("SendReceive", httpIn, httpOut);
A custom HTTP header with a name of "CustomHttpHeader" and a value of "MyValue" is the result.
Note: The HDR_ prefix can be
useful in workflows for avoiding interference with the period (.)
notation used in creating property sets.