Are you using ColdFusion MX? If so, this code will do the job: <cfinvoke webservice="http://www.bindingpoint.com/ws/imalert/imalert.asmx?wsdl" method="sendICQ" returnvariable="theResult"> <cfinvokeargument name="fromName" value="Me"> <cfinvokeargument name="toUserID" value="You"> <cfinvokeargument name="message" value="My hovercraft is full of eels"> </cfinvoke>
Change the cfinvoke method to "sendMSN" and you're golden. No SOAP deconstruction necessary! If you're using ColdFusion 4.5 and above (non-MX), there's a custom tag called cfx_soap on devnet that might work for you, since you're only sending strings. - Jim -----Original Message----- From: W Luke [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 12:39 PM To: CF-Talk Subject: SOAP & CF 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

