View comments | RSS feed
Contents > CFML Reference > ColdFusion Functions > CreateObject: web service object PreviousNext

CreateObject: web service object

This function can create a web service object.

A web service object.

CreateObject(type, urltowsdl) 

Parameter

Description

type

Type of object to create.

  • com
  • corba
  • java
  • component
  • webservice

urltowsdl

WSDL file URL; location of web service

You can use the CreateObject function to create a web service.

newobject2 = CreateObject("webservice","wsdlurl")

Contents > CFML Reference > ColdFusion Functions > CreateObject: web service object 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


songgmo said on Mar 29, 2004 at 9:43 PM :
i don't know...
all wsdl's method(?) , how to input.... and return value....

and english.. -_-
martine said on Jul 7, 2005 at 4:32 AM :
I referred to this source to find out how to pass the username/password pair to a web service instantiated through CreateObject. There is no documentation on this.
ASandstrom said on Jul 13, 2005 at 12:18 PM :
I think you may find the chapter in the “Developing ColdFusion MX Applications” book on Using Web Services, at http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webservi.htm to be helpful, especially the page “Using CFScript to consume a web service” at http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webser17.htm.

 

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/functi48.htm