cfobject: web service object

Description

Creates a web service proxy object.

Syntax 

<cfobject 
webservice= "http://....?wsdl" or "name set in Administrator"
name = "myobjectname">

See also

cfcollection, cfexecute, cfindex, cfreport, cfsearch, cfwddx; "Consuming web services" in Chapter 36, "Using Web Services," in ColdFusion MX Developer’s Guide

Attributes

Attribute Req/Opt Default Description

webservice

Required

 

URL to web service WSDL file:

  • Absolute URL of web service.
  • Name (string) assigned in the Administrator to the web service.

name

Required

 

Local name for the web service. String.

Usage

Instantiates a proxy object for a web service. You can enter the absolute URL in this tag, or refer to a web service that is entered in the ColdFusion Administrator. To minimize potential code maintenance, enter the web service in the Administrator, and then refer to that name in this tag.