Using telemessage to generate a phone call from Rev

Richard Miller wow at
Thu Apr 9 13:14:19 EDT 2009

At Kay's suggestion, I looked into the service from 
Seems fairly simple to implement. But I'm having some kind of difficulty 
transmitting the XML data to their server. My guess is one of you will 
see the problem right away.

They say to post the following code (which I store in fld 1) to their 
server, so I'm am using the following Rev command:

        post urlencode (fld 1) to url 

Here's the xml (from fld 1) which I am posting. I know this data is 
correct, because they provide a test form here 
(, which I used, 
and it worked perfectly. The error response follows the code:

<?xml version="1.0" encoding="UTF-8"?>
         <SUBJECT>Test Call</SUBJECT>
               <PASSWORD>my password goes here</PASSWORD>
           <TEXT>I should be hearing a message a message that says blah, 
             <DEVICE_TYPE DEVICE_TYPE="BusinessNumber"/>

The error I get back is as follows:

<?xml version="1.0" encoding="UTF-8"?>
      <RESPONSE_STATUS_DESC>Error while parsing XML: Premature end of 

What am I doing wrong?

More information about the use-livecode mailing list