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

CFWDDX

New Here ,
Apr 04, 2007 Apr 04, 2007

Copy link to clipboard

Copied

Hi all, I am trying to get our site back up and running after a reformat and can't get WDDX packet deserialization to work anymore. Here is my code:

<CFHTTP method="GET" url=" http://www.fubr.info/api/getCommunity.cfm?COMM=#URL.COMM#">
<!--- deserialize the wddx packet --->
<CFWDDX input="#CFHTTP.FileContent#" output="getCommunity" action="WDDX2CFML">
</CFHTTP>

I checked the CFHTTP return and it is a valid WDDX packet but I still get the following error: Element FILECONTENT is undefined in CFHTTP

Any ideas?
TOPICS
Advanced techniques

Views

345

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
Community Expert ,
Apr 04, 2007 Apr 04, 2007

Copy link to clipboard

Copied

Shouldn't the cfwddx tag be after the cfhttp end tag?

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
Contributor ,
Apr 04, 2007 Apr 04, 2007

Copy link to clipboard

Copied

LATEST
BKBK is rigth.
CFWDDX inside CFHTTP makes no sense.
The order is :
<CFHTTP....> (Retrieve the data)
<CFWDDX....> Convert FileContent in WDDX format in CF format (a query).

Regards

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