MACROMEDIA FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0 Spezifikationen Seite 32

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 40
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 31
This is the Title of the Book, eMatter Edition
Copyright © 2003 O’Reilly & Associates, Inc. All rights reserved.
30
|
Chapter 1: Introduction to Flash Remoting
Browse to the component with a web browser, and add the ?wsdl query string to the
URL that points to the component:
http://localhost/com/oreilly/frdg/HelloWorld.cfc?wsdl
The browser should display the WSDL XML for the web service, as follows:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://frdg.oreilly.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:intf="http://frdg.oreilly.com" xmlns:impl="http://frdg.oreilly.com-impl"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<wsdl:message name="CFCInvocationException">
</wsdl:message>
<wsdl:message name="sayHelloResponse">
<wsdl:part name="return" type="SOAP-ENC:string"/>
</wsdl:message>
<wsdl:message name="sayHelloRequest">
<wsdl:part name="username" type="SOAP-ENC:string"/>
</wsdl:message>
<wsdl:portType name="hellouser">
<wsdl:operation name="sayHello" parameterOrder="username">
<wsdl:input message="intf:sayHelloRequest"/>
<wsdl:output message="intf:sayHelloResponse"/>
<wsdl:fault name="CFCInvocationException"
message="intf:CFCInvocationException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="hellouser.cfcSoapBinding" type="intf:hellouser">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayHello">
<wsdlsoap:operation soapAction=""/>
<wsdl:input>
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://frdg.oreilly.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/
encoding/"
namespace="http://frdg.oreilly.com"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="hellouserService">
<wsdl:port name="hellouser.cfc" binding="intf:hellouser.cfcSoapBinding">
<wsdlsoap:address
location="http://127.0.0.1/com/oreilly/frdg/hellouser.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Seitenansicht 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40

Kommentare zu diesen Handbüchern

Keine Kommentare