tracker issue : CF-4104568

select a category, or use search below
(searches all categories and all time range)
Title:

Support setting a default returnformat for remote CFC calls

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 01/06/2016

Components: CFComponent

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 1

WDDX is no longer used. By anyone. Ok, maybe not anyone, but for 99.99% of the world, JSON will be the preferred returnformat of methods. While you can default this in a CFC by adding 

	//shortcut:
	url.returnformat="json";	

to the top of a file, there should be a way to default this in a more - I don't know - elegant way. Perhaps as an application setting:

    this.cfcremoteformatdefault="json";

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4104568

Reason:	NewBug

External Customer Info:
External Company:  
External Customer Name: Raymond Camden
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

+1 - cfwddx is still useful when query column type needs preserved, but, for remote CFC calls, the default returnformat should be configurable. The default returnformat could even be whatever is most currently used (JSON at this time; possibly something else in the future).
Vote by External U.
4920 | January 06, 2016 05:25:57 PM GMT