Whatever message this page gives is out now! Go check it out!
<cfinvokeargument
name="argument name"
value="argument value"
omit = "yes|no">| Attribute | Req/Opt | Default | Description |
name | Required | Argument name. | |
value | Required | Argument value. | |
omit | Optional | no | Enables you to omit a parameter when invoking a web service. It is an error to specify omit="yes" if the cfinvoke webservice attribute is not specified.yes: omit this parameter when invoking a web service.no: do not omit this parameter when invoking a web service. |
<cfinvoke
component="nasdaq.quote"
method="getLastTradePrice"
returnVariable="res">
<cfinvokeargument name="symbol" value="mot">
<cfinvokeargument name="symbol" value="macr">
</cfinvoke>
<cfoutput>#res#</cfoutput><!--- Using cfinvoke to consume a web service using a ColdFusion component. --->
<cfinvoke
webservice="http://www.xmethods.net/sd/2001/TemperatureService.wsdl"
method="getTemp"
returnvariable="aTemp">
<cfinvokeargument name="zipcode" value="55987"/>
</cfinvoke>
<cfoutput>The temperature at zip code 55987 is #aTemp#</cfoutput>