Using HTTP POST
To send data using HTTP POST, post the entire XML as one segment as the value of a variable named “data”.
Data should be posted to the following URL:
http://<ENS server host name>/sdk/listener/listen.asp
For example, use the following HTML page to post data:
<HTML> <HEAD> <TITLE>Post Data to AtHoc servers</TITLE> </HEAD> <BODY> <FORM name=”frmMain” action=”http://ens.yourcompany.com/sdk/listener/listen.asp method=”post”> <textarea cols=”100” rows=”20” name=”data”>XML Payload</textarea> <INPUT type=”submit” name=”btnSubmit” value=”Send feed”> </FORM> </BODY> </HTML>
BlackBerry AtHoc
parses the received XML document and processes the payloads sequentially. An XML response is sent after processing is complete. Multiple payloads can be included in one XML document. The response contains a status (success or failure) for each SDK request payload.