View comments | RSS feed
Contents > Developing ColdFusion MX Applications > Using Web Services > Consuming web services PreviousNext

Consuming web services

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

CreateObject()

Consumes a web service from within a CFScript block

CFML tag

cfinvoke

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.


Contents > Developing ColdFusion MX Applications > Using Web Services > Consuming web services PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


BenForta said on Nov 6, 2003 at 6:09 AM :
<CFOBJECT> can be used too.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/webser12.htm