Event
The Event
action sends XML events as URL-encoded text strings to the ACI port instead of as XML files to the Event port. This option can be useful if the front-end application uses the IDOL ACI API or something similar.
NOTE: To use Event
, you must enable the ActionEvent configuration parameter.
Parameters
The Event
action supports the following parameters.
Data
Specify the URL-encoded XML string.
Type: | String |
Default: | None |
Required: | Yes |
Example: | data=encoded_string where |
InflateBytes
If the Data
string is encoded in Base64 and is compressed with zlib, InflateBytes
indicates the original size of the string. This value must be specified by the application that compressed the data.
Type: | Integer |
Default: | None |
Required: | No |
Example: | InflateBytes=1024
|
Example
action=Event&Data=<?xml version='1.0' encoding='ISO-8859-1'?><events><queryinfo><ver>0.1</ver><url><![CDATA[action=Query&Spellcheck=True&Highlight=SummaryTerms]]></url><action>query</action><terms><term>This</term></terms><terms><term>is</term></terms><terms><term>an</term></terms><terms><term>event</term></terms><terms><term>test.</term></terms><numhits>12</numhits><ip>127.0.0.1</ip><timestamp>1200398400</timestamp><idolname>myIDOL</idolname></queryinfo></events>