<portType name="BabelFishPortType">
<operation name="BabelFish">
<input message="tns:BabelFishRequest" />
<output message="tns:BabelFishResponse" />
</operation>
</portType>
<binding name="BabelFishBinding" type="tns:BabelFishPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/
http" />
<operation name="BabelFish">
<soap:operation soapAction="urn:xmethodsBabelFish#BabelFish" />
<input>
<soap:body use="encoded" namespace="urn:xmethodsBabelFish"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output>
<soap:body use="encoded" namespace="urn:xmethodsBabelFish"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
<service name="BabelFishService">
<documentation>Translates text of up to 5k in length, between a variety of
languages.</documentation>
<port name="BabelFishPort" binding="tns:BabelFishBinding">
<soap:address location="http://services.xmethods.net:80/perl/
soaplite.cgi" />
</port>
</service>
</definitions>
The following are the major components of the WSDL file:
Component
Definition
The root element of the WSDL file. This area contains namespace definitions that
definitions
you use to avoid naming conflicts between multiple web services.
(not shown) Defines data types used by the service's messages.
types
Defines the data transferred by a web service operation, typically the name and data
message
type of input parameters and return values.
Defines one or more operations provided by the web service.
port type
Defines an operation that can be remotely invoked.
operation
Specifies an input parameter to the operation using a previously defined message.
input
Specifies the return values from the operation using a previously defined message.
output
(not shown) Optionally specifies an error message returned from the operation.
fault
Specifies the protocol used to access a web service including SOAP, HTTP GET
binding
and POST, and MIME.
Defines a group of related operations.
service
Defines an operation and its associated inputs and outputs.
port
For additional descriptions of the contents of this WSDL file, see
on page
713.
712
Chapter 32: Using Web Services
"Consuming web services"
Need help?
Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?
Questions and answers