Consuming web services

ColdFusion MX provides a variety of 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

CreateObject()

Consumes a web service from within a CFScript block.

CFML tag

cfinvoke

Consumes a web service from within a block of CFML code.

CFML tag

cfobject

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.

This section describes the following topics:


View comments in LiveDocs