Macromedia dreamweaver 8-using dreamweaver Manual De Usuario
774
Chapter 37: Using Web Services
6.
Click OK.
The proxy generator creates a proxy for the web service and introspects it. Introspection is
the process where the proxy generator queries the internal structure of the web service
proxy, and makes its interfaces, methods, and properties available through Dreamweaver.
the process where the proxy generator queries the internal structure of the web service
proxy, and makes its interfaces, methods, and properties available through Dreamweaver.
The web service is now available for use in the site, and appears in the Components panel.
You can now add the web service to a page.
You can now add the web service to a page.
Related topics
■
Adding a web service to a page
After selecting a web service, generating its proxy, and adding it to the Components panel,
you can insert it into a page.
you can insert it into a page.
The illustration below shows the Components panel with the web service proxy
Helloworld
added. The
Helloworld
proxy provides one method,
sayHello
, which prints “Hello World.”
The following example instantiates the
HelloWorld
web service using ColdFusion. To learn
more about creating a web services, and to see additional examples using .NET and JSP, visit
the Macromedia Support Center at:
the Macromedia Support Center at:
To add a web service to a page:
1.
In the Document window, in Code view, drag the
sayHello
method into the page’s
HTML.
Dreamweaver adds the method and dummy parameters to the page.