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.
To use Event
, you must enable the ActionEvent
configuration parameter. See ActionEvent.
The Event
action supports the following parameters.
Specify the URL-encoded XML string.
Type: | String |
Default: | None |
Required: | Yes |
Example: | data=encoded_string where |
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
|
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>
|