Статьи

Аннотированные примеры WSDL

  1. SOAP запрос

Вот несколько примеров WSDL, которые я аннотировал, чтобы упростить отслеживание рефереров и референтов. Возможно, кто-то еще найдет это полезным. Смотрите также аннотированные примеры RDF WSDL ,

Если вы хотите прийти к этому с точки зрения клиента, обнаружившего и использующего рекламируемые услуги, перейдите по ссылкам из служба поддержки сноубордов и биржевой сервис ,

SOAP запрос

<SOAP-ENV: Конверт xmlns: SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV: encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/" > <SOAP-ENV: Body> < м: GetEndorsingBoarder XMLNS: м =» http://namespaces.snowboard-info.com "> <производитель> К2 </ производитель> <модель> Fatbob </ модель> </ m: GetEndorsingBoarder> </ SOAP-ENV: тело> </ SOAP-ENV: конверт>

SOAP ответ

<SOAP-ENV: Конверт xmlns: SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV: encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/" > <SOAP-ENV: Body> < м: GetEndorsingBoarderResponse XMLNS: м =» http://namespaces.snowboard-info.com "> <endorsingBoarder> Крис Энглесманн </ endorsingBoarder> </ m: GetEndorsingBoarderResponse> </ SOAP-ENV: Body> </ SOAP-ENV: Envelope>

Описание WSDL

<? xml version = "1.0&quot;?> <wsdl: определений name = " EndorsementSearch "targetNamespace =" http://namespaces.snowboard-info.com "xmlns: es =" http://www.snowboard-info.com/EndorsementSearch.wsdl "xmlns: esxsd =" http://schemas.snowboard-info.com/EndorsementSearch.xsd "xmlns: soap =" http: //schemas.xmlsoap.org/wsdl/soap/ "xmlns: wsdl =" http://schemas.xmlsoap.org/wsdl/ "> <wsdl: types> <xsd: schema targetNamespace =" http: // namespaces. snowboard-info.com "xmlns: xsd =" http://www.w3.org/1999/XMLSchema "> <xsd: element name =" GetEndorsingBoarder "> <xsd: complexType> <xsd: sequence> <xsd: element name =" производитель "type =" string "/> <xsd: element name =" model "type =" string "/> </ xsd: sequence> </ xsd: complexType> </ xsd: element> <xsd: element name =" GetEndorsingBoarderResponse "> <xsd: complexType> <xsd: all> <xsd: element name =" endorsingBoarder "type =" string "/> </ xsd: all> </ xsd: complexType> </ xsd: element> <xsd: element name =" GetEndorsingBoarderFault "> <xsd: complexType> <xsd: all> <xsd: element name =" errorMessage "type =" string "/> </ xsd: all> </ xsd: complexType> </ xsd: element> </ xsd: schema> </ wsdl: types> <wsdl: message name =" GetEndorsingBoarderRequest "> <wsdl: part name =" body "element =" esxsd: GetEndorsingBoarder "/> </ wsdl: message> <wsdl: message name =" GetEndorsingBoarderResponse "> <wsdl: part name =" body "element =" esxsd: GetEndorsingBoarderResponse "/> </ wsdl: message> <wsdl: portType name =" GetEndorsingBoarderPortType "> <wsdl: operation name =" GetEndorsingBoarder "> <wsdl: input message =" es: GetEndorsingBoarderRequest "/> <wsdl: output message =" es: GetEndorsingBoarderResponse "/> <wsdl: error message =" es: GetEndorsingBoarderFault "/> </ wsdl: operation> </ wsdl: portType> <wsdl: binding name =" EndorsementSearchSoapBinding "type =" es: GetEndorsingBoarderPortType "> <soap: binding style =" document "transport =" http://schemas.xmlsoap.org/soap/http "/> <wsdl: operation name =" GetEndorsingBoarder "> <soap: operation soapAction =" http://www.snowboard-info.com/EndorsementSearch "/> <wsdl: input> <soap: body use =" literal "namespace =" http: //schemas.snowboard- info.com/EndorsementSearch.xsd "/> </ wsdl: input> <wsdl: output> <soap: body use =" literal "namespace =" http://schemas.snowboard-info.com/EndorsementSearch.xsd "/ > </ wsdl: output> <wsdl: fault> <soap: body use = "literal" namespace = "http://schemas.snowboard-info.com/EndorsementSearch.xsd" /> </ wsdl: fault> </ wsdl: operation> </ wsdl: binding> <wsdl: service name = " EndorsementSearchService "> <wsdl: Documentation> Snowboarding-info.com Служба одобрения </ wsdl: Documentation> <wsdl: port name =" GetEndorsingBoarderPort "binding =" es: EndorsementSearchSoapBinding "> <soap: address location =" http://www.snowboard-info.com/EndorsementSearch "/> </ wsdl: port> </ wsdl: service> </ wsdl: определения>

Описание WSDL

<? xml version = "1.0&quot;?> <определений name = " StockQuote "targetNamespace =" http://example.com/stockquote.wsdl "xmlns: tns =" ​​http://example.com/stockquote.wsdl "xmlns: xsd1 =" http://example.com/stockquote.xsd "xmlns: soap =" http://schemas.xmlsoap.org/ wsdl / soap / "xmlns: wsdl =" http://schemas.xmlsoap.org/wsdl/ "> <wsdl: types> <xsd: schema targetNamespace =" http://example.com/stockquote.xsd "xmlns: xsd =" http://www.w3.org/2000/10/XMLSchema "> <xsd: element name =" TradePriceRequest "> <xsd: complexType> <xsd: all> <xsd: element name =" tickerSymbol "type =" string "/> </ xsd: all> </ xsd: complexType> </ xsd: element> <xsd: element name =" TradePrice "> xsd: <complexType> <xsd: all> <xsd: element name =" price "type =" float "/> </ xsd: all> </ xsd: complexType> </ xsd: element> </ xsd: schema> </ wsdl: types> <wsdl: message name =" GetLastTradePriceInput "> <wsdl: part name =" body "element =" xsd1: TradePriceRequest "/> </ wsdl: message> <wsdl: message name =" GetLastTradePriceOutput "> <wsdl: part name =" body "element =" xsd1: Торговая цена "/> </ wsdl: message> <wsdl: portType name =" StockQuotePortType "> <wsdl: operation name =" GetLastTradePrice "> <wsdl: input message =" tns: GetLastTradePriceInput "/> <wsdl: output message =" tns: GetLastTradePriceOutput "/> </ wsdl: operation> </ wsdl: portType> <wsdl: binding name =" StockQuoteSoapBinding "type =" tns: StockQuotePortType "> <soap: binding style =" document "transport =" http://schemas.xmlsoap.org/soap/http "/> <wsdl: operation name =" GetLastTradePrice "> <soap: operation soapAction =" http://example.com/GetLastTradePrice "/> <wsdl: input> <soap: body use =" literal "/> </ wsdl: input> <wsdl: output> <soap : body use = "literal" /> </ wsdl: output> </ wsdl: operation> </ wsdl: binding> <wsdl: service name = " StockQuoteService "> <wsdl: Documentation> Мой первый сервис </ documents> <wsdl: port name =" StockQuotePort "binding =" tns: StockQuoteBinding "> <soap: address location =" http://example.com/stockquote "/> </ wsdl: port> </ wsdl: service> </ wsdl: определения>

Эрик Прюдом Последнее изменение: понедельник, 26 марта 11:12:20 EST 2001

Похожие

Создание потрясающего рабочего процесса Jira: концепции и примеры
Я поражен тем, сколько разных типов команд используют Jira для управления своими Рабочие процессы , Настраиваемый механизм рабочего процесса Jira позволяет адаптировать его ко всем видам корпоративной культуры - как малым, так и новым, а также большим и устаревшим. По мере роста вашей компании вы развиваете уникальную культуру, основанную на том, как сотрудники работают вместе в командах. А то, как функционирует команда, отражается
Quot;?
Quot;?

Новости