Abstract WSDL Documents
An abstract WSDL document contains the following elements: Defniitions, Types, Messages, Parts, Operations and Port types.
The following WSDL document fragment contains the abstract WSDL elements for a stock quote service.
<definitions name="StockQuote" targetNamespace="http://ns.tibco.com/StockQuote" xmlns:tns="http://ns.tibco.com/StockQuote" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> <xs:schema targetNamespace="http://ns.tibco.com/StockQuote/"> <xs:element name="QuoteRequest" type="xs:string"/> <xs:element name="QuoteResponse" type="xs:float"/> </xs:schema> </types> <message name="QuoteInput"> <part name="symbol" element="tns:QuoteRequest"/> </message> <message name="QuoteOutput"> <part name="quote" element="tns:QuoteResponse"/> </message> <portType name="StockQuotePortType"> <operation name="getQuote"> <input message="tns:QuoteInput"/> <output message="tns:QuoteOutput"/> </operation> </portType> ... </definitions>
Copyright © Cloud Software Group, Inc. All rights reserved.