| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| * Copyright 2001-2009 The Apache Software Foundation. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICenSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| */ --> |
| <definitions name="StockQuote" targetNamespace="http://example.com/stockquote/" |
| xmlns:tns="http://example.com/stockquote/" xmlns:xsd1="http://example.com/stockquote/schema/" |
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| <types> |
| <schema targetNamespace="http://example.com/stockquote/schema/" |
| xmlns="http://www.w3.org/2001/XMLSchema"> |
| <element name="TradePriceRequest"> |
| <complexType> |
| <all> |
| <element name="tickerSymbol" type="string" /> |
| </all> |
| </complexType> |
| </element> |
| <element name="TradePrice"> |
| <complexType> |
| <all> |
| <element name="price" type="float" /> |
| </all> |
| </complexType> |
| </element> |
| </schema> |
| </types> |
| <message name="GetLastTradePriceInput"> |
| <part name="body" element="xsd1:TradePriceRequest" /> |
| </message> |
| <message name="GetLastTradePriceOutput"> |
| <part name="body" element="xsd1:TradePrice" /> |
| </message> |
| <portType name="StockQuotePortType"> |
| <operation name="GetLastTradePrice"> |
| <input message="tns:GetLastTradePriceInput" /> |
| <output message="tns:GetLastTradePriceOutput" /> |
| </operation> |
| </portType> |
| <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType"> |
| <soap:binding style="document" |
| transport="http://schemas.xmlsoap.org/soap/http" /> |
| <operation name="GetLastTradePrice"> |
| <soap:operation soapAction="http://example.com/GetLastTradePrice" /> |
| <input> |
| <soap:body use="literal" /> |
| </input> |
| <output> |
| <soap:body use="literal" /> |
| </output> |
| </operation> |
| </binding> |
| <service name="StockQuoteService"> |
| <port name="StockQuotePort" binding="tns:StockQuoteSoapBinding"> |
| <soap:address location="http://location/sample" /> |
| </port> |
| </service> |
| </definitions> |