| CREATEOBJECT: WEB SERVICE OBJECT | |
| Description
This function can create a web service object. |
|
| Returns
A web service object. |
|
Function syntaxCreateObject(type, urltowsdl [, portname ]) |
|
| Parameters
|
|
| Usage
You can use the CreateObject function to create a web service. |
|
Example<cfscript>
ws = CreateObject("webservice",
"http://www.xmethods.net/sd/2001/TemperatureService.wsdl");
xlatstring = ws.getTemp(zipcode = "55987");
writeoutput("The temperature at 55987 is " & xlatstring);
</cfscript>
|
|
| TYPE | |
| URLTOWSDL | |
| PORTNAME | |