XML - статьи



              

Листинг 4Описание интерфейса


http://example.com/stockquote/stockquoteV20.wsdl

<?xml version="1.0"?> <definitions name="StockQuote" targetNamespace="http://example.com/stockquote/definitions" xmlns:tns="http://example.com/stockquote/definitions" xmlns:xsd1="http://example.com/stockquote/schemas" xmlns:soap="http://www.w3.org/2003/11/wsdl/soap12" xmlns="http://www.w3.org/2003/11/wsdl">

<import namespace="http://example.com/stockquote/schemas"

location="http://example.com/stockquote/stockquoteV20.xsd"/> <types> <schema targetNamespace="http://example.com/stockquote/definitions">

<element name="GetLastTradePriceInput" type="xsd1:TradePriceRequest"/>

<element name="GetLastTradePriceOutput" type="xsd1:TradePrice"/> </schema> </types>

<interface name="StockQuoteInterface">

<operation name="GetLastTradePrice" pattern="http://www.w3.org/2003/11/wsdl/in-out">

<input message="tns:GetLastTradePriceInput"/>

<output message="tns:GetLastTradePriceOutput"/> </operation> </interface> </definitions>




Содержание  Назад  Вперед