Passes the name and value of an argument to a component method or a web service method. This tag is used inside of the cfinvoke tag.
<cfinvokeargument name="" value="">
cfinvokeargument(name="", value="");
false
true
false
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.