Contents

cfinvoke

Description

Invokes component methods from within a ColdFusion page or component. You use this tag to reference a WSDL file and consume a web service from within a block of CFML code.

Category

Other

Implemented

Usage Syntax

<cfinvoke  
	[component="Any"]
	[method="String"]
	[returnvariable="String"]
	[argumentcollection="Struct"]
	[username="String"]
	[password="String"]
	[webservice="String"]
	[timeout="number"]
	[proxyserver="String"]
	[proxyport="number"]
	[proxyuser="String"]
	[proxypassword="String"]
	[serviceport="String"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
component Any No
method String No
returnvariable String No
argumentcollection Struct No
username String No
password String No
webservice String No
timeout number No
proxyserver String No
proxyport number No
proxyuser String No
proxypassword String No
serviceport String No

Example Usage