ColdFusion WDDX/Web Service/XML
Posted on 2003-03-16
A small company has asked two provider (myself and another) to work together on providing dynamic content to the web. I am using CFMX and MSSQL for a CRM database. Our application is working fine, but the other provider is Devlopmentally challenged. We want to display the contents of an events calendar on their web page (BTW, the web site is hosted on a different server). I attempted the web service thing with complex data types (querybean) and that was a little much for them. I am currently trying to do it through WDDX in which I am receiving positive results, but I can't seem to get the consuming page to read the CFMLtoJS output without the CFHTTP tag. My question is what is the best way to make the events data available to them without running a batch process to update XML, or a text file, or WDDX on a daily basis. Let me outline:
1. CFMLtoJS is outputing fine.
2. I either want them to:
a. Include a CFM page with the CFMLtoJS at the top of the referring page
b. Include a CFM page with XML output at the top of the referring page (or read the XML from a CFM page)
c. Use a robot to get the WDDX packet or XML data
d. Use a web service to return the query
e. Get them to purchase and learn CF
Any help will be greatly appreciated...I am running on empty.