Adobe Dreamweaver CS3 Bedienungsanleitung Seite 596

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 738
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 595
DREAMWEAVER CS3
User Guide
589
<html>
<head>
<title>Web Service</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<cfinvoke
webservice="http://www.mysite.com:8500/helloworld/HelloWorld.cfc?wsdl"
method="sayHello"
returnvariable="aString">
</cfinvoke>
The web service says: <cfoutput>#aString#</cfoutput>
</body>
</html>
4 Whenyoudeploywebpagestoaproductionserver,Dreamweaverautomaticallycopiesthepages,theproxy,and
any necessary libraries to the web server.
Note: If you develop the application with a proxy that is installed on a separate computer from the one where you
developed the pages, or if you use a site management tool that does not copy all of the related files to the server, you must
ensurethatyoudeployboththeproxyandanydependentlibraryfiles.Otherwise,yourpagescannotcommunicatewith
the web service application.
Add a web service using a proxy class
Select a local .NET DLL or JSP Reader to introspect web service proxies when using the .NET or JSP development
framework.
1 Select Window > Components to open the Components panel.
2 IntheComponentspanel,selectWebServicesfromthepop-upmenuintheupper-leftcornerofthepanel,then
click the Plus (+) button and select Add Using Proxy Classes.
3 Enter the location of the proxy class reader in the box, or browse for the file.
4 Select a proxy reader from the pop-up menu, and click OK.
There are two default proxy readers:
The .NET DLL Reader for ASP.NET document types
The Java Class Reader for JSP document types
Adding custom server behaviors
About custom server behaviors
Dreamweaver comes with a set of built-in server behaviors that lets you easily add dynamic capabilities to a site. You
can extend the Dreamweaver functionality by creating server behaviors to suit your development needs, or by
obtaining server behaviors from the Dreamweaver Exchange website.
Before creating your own server behaviors, you should check the Dreamweaver Exchange website to see if another
party has already created a server behavior that supplies the functionality youd like to add to your website. Often, a
third-party developer has created and tested a server behavior that will address your needs.
September 4, 2007
Seitenansicht 595
1 2 ... 591 592 593 594 595 596 597 598 599 600 601 ... 737 738

Kommentare zu diesen Handbüchern

Keine Kommentare