• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF8, Ajax and Web Services

Guest
Oct 02, 2009 Oct 02, 2009

Copy link to clipboard

Copied

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

TOPICS
Advanced techniques

Views

494

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 02, 2009 Oct 02, 2009

Copy link to clipboard

Copied

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-OnCFCRequest-Event-Handler-For-CFC-Requests.htm

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 02, 2009 Oct 02, 2009

Copy link to clipboard

Copied

LATEST

Adam,

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

these.

Tomas

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation