XML fields
All eight of the xml fields listed in GoodScan and BadScan are required for the Axess integration to work correctly. Validations are performed like this:
<func>validate</func><scan>3013001</scan>
Optional parameters are location, operator, salespoint, ip, port, decrypt, axessdata and timeout (three seconds is the default). A call with all options would look like this:
<func>validate</func><scan>3013001</scan><ip>127.0.0.1</ip>
<port>4203</port><decrypt>1</decrypt><axessdata>0</axessdata>
<timeout>3</timeout>
The axessdata parameter means to return the axessdata specified in the ww.INI file (depending on if the scan is good or bad). This function returns valid, msg, detail and perhaps an axessdata tag.
Example:
<detail>Scan: E007800ACDD37617 Error: Pass# 0 is not a valid pass#
</detail><msg>BAD</msg><valid>0</valid> close window