Title:
[ANeff] Doc Bug for: invoke() doc includes statement "Invokes a web service"
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/09/2014
Components: Documentation
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
invoke() doc includes statement "Invokes a web service". That statement should be removed, since using invoke() for web services throws error:
"Could not find the ColdFusion component or interface http://www.domain.com/MyCFC.cfc?wsdl."
Repro:
MyCFC.cfc
---------
component {remote string function myFunction(required string arg1, string arg2="b") {return ARGUMENTS.arg2;}}
index.cfm
---------
<cfscript>
myResult = invoke("http://www.domain.com/MyCFC.cfc?wsdl", "myFunction", {arg1="a", arg2=javaCast("null", "")});
writeDump(myResult);
</cfscript>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3864527
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: