Non Polling Receive API
- This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
I have not been able to get the non polling receive API working. I get the following error:
Jul 9 15:56:29 boa: recvlivelog: Non-polling message [index: 1]: 14:28:30, 13/07/09, 12146740592, I will. Thank you!
Jul 9 15:56:59 boa: recvlivelog: NON-POLLING RECEIVE API DELIVERY FAILED: Unable to Connect to Server.
Jul 9 15:56:59 boa: recvlivelog: HTTP NON-POLLING RECEIVE API DELIVERY FAILED: Failed to connect to server.
Jul 9 15:56:59 boa: recvlivelog: Non-Polling Post Failed to Send. Will try again later.
Jul 9 15:56:59 boa: recvlivelog: Failed to send non-polling message. Will attempt to resend later.
I have configured it as follows:
Non Polling Receive API Status: Checked
Protocol: HTTP
Server: 192.168.1.123 (this is my development machine on the internal network) hosting the page
Port: 80
Server default page: Default.aspx
Send encoding: Unchecked
Server Authentication: Unchecked
Retry Post Interval: 30
Max Messages: 50
Send Message Index: Checked
I have tested tested my page using HTTP Resource Test add-in for firefox and posting the following message:
<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<Response>
<MessageNotification>
<ModemNumber>2:19525945092</ModemNumber>
<SenderNumber>2146740592</SenderNumber>
<Date>09/07/13</Date>
<Time>15:54:30</Time>
<Message>Here is a test message</Message>
</MessageNotification>
</Response>
The page processes the information and adds to the database without issues. Not sure what I am doing wrong and would appreciate any pointers.
Steve
Resolved. It was an issue with request validation failing because of the XML data being posted. Once I configured the web site to allow that it worked fine.
hello , can you help me to configure Receive API fot TCP please.
and how i can test this configuration.
thank you.