Friday, March 26, 2010

CF8, Ajax and Web Services

Hi,

We have an older CF 6.1 app we are migrating to CF 8, we have a series of web services that are called via javascript functions on the client side.

These functions build the xml document from scratch and send it onto the web service components. Using Neoload and sending the xml manually to the web service I get a successful response, but from within the application the returned response is empty!

Someone had mentioned a Gotcha with web services when using the on Request method, we are using this method within the application.cfc.

Can anyone shed any light on this?

thanks,

Tomas

CF8, Ajax and Web Services

Here are some links (found on Google):

http://livedocs.adobe.com/coldfusion/8/htmldocs/AppEvents_08.html#1186087

http://www.coldfusionjedi.com/index.cfm/2005/10/16/Ask-a-Jedi-Using-UDFs-with-an -Applicationcfc-Framework

http://corfield.org/blog/index.cfm/do/blog.entry/entry/Applicationcfc__onRequest _and_CFCs

This issue has been fixed in CF9 with the addition of the onCfcRequest handler.?This is not officially documented yet, but Ben Nadel covers it here: http://www.bennadel.com/blog/1647-Learning-ColdFusion-9-Application-cfc-OnCFCReq uest-Event-Handler-For-CFC-Requests.htm

--

Adam

CF8, Ajax and Web Services

Adam,

Thanks very much for the links, much appreciated. I'll take a look at all of

these.

Tomas

No comments:

Post a Comment