ColdFusion MX provides two methods for consuming web services. The method that you choose depends on your ColdFusion programming style and application.
The following table describes these methods:
Method | CFML operator | Description |
---|---|---|
CFScript |
Consumes a web service from within a CFScript block |
|
CFML tag |
Consumes a web service from within a block of CFML code |
One important consideration is that all consumption methods use the same underlying technology and offer the same performance.
Note: In ColdFusion MX and ColdFusion MX 6.1, if a WSDL file specifies multiple web services, you can use only the first web service that is defined in the file. To access any other service, copy the file and separate it into individual WSDL files for each service you use.