HTTP extension as event handlers
If you configure an event handler as an HTTP extension, the application sends data using the post() function to the specified URL.
Data is posted using the variables in the following table.
Variable |
Description |
---|---|
sTranID |
ID of the transaction raising the event. |
iDataType |
If iDataType is set to 1, XML data is published with the event and sData contains the entire XML string. Otherwise, iData Type is set to 0 and sData contains a name=value pair. To see what the name=value pair contains, see the DBD file associated with the event in the Javadoc. |
sData |
See iDataType description. |
sShipNode |
Ship node ID, if available. |
A service can be configured to post data using the HTTP protocol.