Does either of the following:
* Invokes a component method from within a CFML page or
component.
* Invokes a web service.
Different attribute combinations make some attributes required
at sometimes and not at others.
<cfinvoke method="">
cfinvoke(method="");
false
true
false
1
2
Calls a remote web service to perform an addition, uses cfinvokeargument to pass the arguments to the method.
<cfinvoke webservice="http://soaptest.parasoft.com/calculator.wsdl" method="add" returnvariable="answer">
<cfinvokeargument name="x" value="2">
<cfinvokeargument name="y" value="3">
</cfinvoke>
<cfoutput>#answer#</cfoutput>
Expected Result: 5.0
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.