Dreamweaver and Web Services Integration


So now you know that XML web services are meant to revolutionize the way we do business now and in the future. Microsoft has realized this and implemented ways of working with and interacting with web services in its .NET initiative. By the same token, Macromedia has implemented ways of interacting with and using web services in its Dreamweaver product.

NOTE

In Dreamweaver, web services are supported only in the ASP.NET and ColdFusion server models. Although ASP and PHP do support web service development, web service development is not supported out-of-the-box by Dreamweaver, and therefore is not discussed in this chapter.


Remember that Components panel that was attached to the Application panel group? Up to this point, we have only briefly mentioned it; now it's time to go over it with greater detail. You can find the Components panel by selecting the Components tab from the Application panel group, also shown in Figure 30.2.

Figure 30.2. The Components panel allows you to work with web services.


The Components panel consists of the following features:

  • Component Type: Enables you to specify the type of component you'll be working with. Under the ASP.NET server model, Web Services is the only option. Under the ColdFusion server model, both ColdFusion Components and Web Services options appear in this menu.

  • Add Component: Adds a new component to the development environment. Under the ASP.NET server model, you have the opportunity to add a component using WSDL or by simply browsing to a precompiled class (DLL). Under the ColdFusion server model, you're limited to WSDL only.

  • Remove Component: Removes a specific component from the list.

  • Deploy (ASP.NET only): Deploys the DLL (DreamweaverCtrls.dll) required to work with your component in Dreamweaver to the testing server.

  • Component window: Provides you with a tree-like view of your web service, including the name of the service, the class within that service, and all the web methods and properties exposed by the web service.

The most important feature in the Components panel by far is the Add Component option. As you will see in this chapter, adding the web service to your applications can be accomplished in one of two ways (one if you're working in ColdFusion): Add Using WSDL and Add Using Proxy Classes. Because of the relative similarities between the two options, we'll simply use the Add Using WSDL option for both ASP.NET and ColdFusion examples.




Macromedia Dreamweaver 8 Unleashed
Macromedia Dreamweaver 8 Unleashed
ISBN: 0672327600
EAN: 2147483647
Year: 2005
Pages: 237
Authors: Zak Ruvalcaba

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net