Dreamweaver

The Dreamweaver web service workflow

To create a page or site that is a consumer of a web service that uses Dreamweaver, you must perform the following tasks:

1. Install and configure a proxy generator.

Dreamweaver comes preconfigured with Axis, the Apache SOAP proxy generator that supports JSP web service development. If you are developing ColdFusion pages, the web service proxy generator is included in the ColdFusion server. Establishing a connection to the ColdFusion server gives you access to the proxy generator.

If you are developing web service pages for use with ASP.NET, you must install the ASP.NET SDK, which is available from Microsoft.

2. Using a browser, view a web-based registry of web services.

There are several sources of web services, ranging from web service registry sites to simple lists. The registries use UDDI, a standard that lets service providers and requestors find and transact with one another. UDDI allows businesses to locate services on the web that meet their needs. For example, using UDDI you can specify certain criteria, such as the lowest price for a certain service, or that specific information be returned.

3. After locating and selecting a web service that provides the functionality you require, enter the URL of the WSDL in the Adding a Web Service dialog box.

4. Generate a proxy for the web service from the WSDL description of the service publisher.

To embed a web service into a web page, you must create a proxy. The proxy provides the web page with the necessary information to communicate with the web service, and access the methods the web service provides.

To create a proxy from the WSDL file, use a proxy generator. After you create the proxy, you can install it on either of the following:

  • The local computer where you are developing the web service consumer.

  • The server computer running the application server. To deploy the web page and have it communicate with the web service publisher you must install the proxy on the server.

5. Using Dreamweaver, add the web service to a page and edit the necessary parameters and methods to use the service’s functionality.