
1096
DEVELOPING
COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
Las
t
upda
te
d 8/5/2010
Accessing web services using Dreamweaver
The Dreamweaver Components tab lets you view web services, including operation names, parameter names, and
parameter data types.
Open the Components tab in Dreamweaver and add a web service
1
Select Window > Components, or use F7, to open the Components panel.
2
In the Components panel, select Web Services from the drop-down list in the upper left of the panel.
3
Click the Plus (+) button.
The Add Using WSDL dialog box appears.
4
Specify the URL of the WSDL file.
After the web service is defined to Dreamweaver, you can drag it onto a page to call it using the
cfinvoke
tag.
For more information on using Dreamweaver, see its online Help system.
Note:
The Web Services option is not available if you are running Dreamweaver on the Macintosh. However, you can
still use web services by writing code manually.
Reading a WSDL file
A WSDL file takes practice to read. You can view the WSDL file in a browser, or you can use a tool such as
Dreamweaver, which contains a built-in utility for displaying WSDL files in an easy-to-read format.
The following example shows a WSDL file for the TemperatureService web service:
Содержание COLDFUSION 9
Страница 1: ...Developing Applications ADOBE COLDFUSION 9...