Accessibility
 
Home / Developer Center / Dreamweaver Developer Center /

Dreamweaver Article

George Fox
George Fox
Macromedia
 
Creating a Web Service Application Using ColdFusion MX and Dreamweaver


As word about web services has spread in the last year and actual implementations of web services appear on the scene, it's apparent that web services aren't just another technological fad. In fact, web services are actually helping XML deliver on its promise of platform and language-independent distributed applications.

Until recently, "consuming" web services (that is, using the functionality of another developer's web service on your web pages) was reserved for web developers already familiar with XML and an application server language. That has all changed with Dreamweaver MX. Although it's still a good idea to learn XML and at least one coding language, Dreamweaver MX allows you easily to consume web services created by other developers without an extensive coding background. No knowledge of XML is required and using a web service on your web pages is practically as easy as drag-and-drop.

This article briefly reviews what web services are, steps you through the process of using Macromedia Dreamweaver MX to consume Google.com's popular web service, and shows you how to create a sample application using some of the newest and coolest features in Macromedia ColdFusion MX. Keep in mind that using web services with Dreamweaver MX is not limited to the ColdFusion MX application server platform alone. You can also implement web services through ASP.Net or a J2EE application server, such as Macromedia JRun 4.

Requirements

Dreamweaver MX 2004 (Note: This tutorial also works with Dreamweaver MX)

If you're a beginner, start with the first section, "Overview of web services." If you're more familiar with web services and wish to learn how to use them in Dreamweaver MX, start with the section called "Consuming web services in Dreamweaver MX."

Table of contents

Overview of web services

Setting up the environment to consume web services in Dreamweaver MX

·
Consuming web services in Dreamweaver MX
·
The Google Search API web service
·
Setting up the environment
·
Generating the proxy
·
Applying the results to the page

Creating a simple web services application with Dreamweaver MX and ColdFusion MX  

·
Setting up the database to store information from the web service
·
Creating the page to invoke the web service and capture the data
·
Scheduling the web service with the ColdFusion MX task scheduler
·
Using ColdFusion's cfchart tag to display the results

Now what?

 

 
 
Next
--------------------------------------------------------------------------------

About the author
George Fox is Managing Editor for the Macromedia Developer Center as well as the editor for content in the Dreamweaver, Fireworks, Contribute, Web Publishing System, Breeze, and Director Developer Centers. He holds an MS in Industrial/Organizational Psychology. Before traveling extensively in Asia, Alaska and the North Western US, George had careers in Training/Organizational Development and Business Process Analysis.

Submit feedback on our tutorials, articles, and sample applications.