Hi,

I need to get a very basic app running by Thursday - just one which
messages MSN/ICQ clients instead of email.  I've found a Web Service
which can help (free):
http://www.bindingpoint.com/ws/imalert/imalert.asmx

I've not done any SOAP before, and not much WSDL (although a little).
Could anyone give me an example of how the following code could be
adapted?

POST /ws/imalert/imalert.asmx HTTP/1.1
Host: www.bindingpoint.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.bindingpoint.com/ws/imalert/SendMSN";

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <SendMSN xmlns="http://www.bindingpoint.com/ws/imalert/";>
      <FromName>string</FromName>
      <ToUserID>string</ToUserID>
      <Message>string</Message>
    </SendMSN>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <SendMSNResponse xmlns="http://www.bindingpoint.com/ws/imalert/";>
      <SendMSNResult>SENT or UNREACHABLE or FAILED or
LIMITEXCEEDED</SendMSNResult>
    </SendMSNResponse>
  </soap:Body>
</soap:Envelope>

Thanks

Will
--
http://cricketalerts.co.uk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to