Skip to content

Commit 34e3ce3

Browse files
committed
Adds some fixtures in order to write some tests
1 parent 2fd755c commit 34e3ce3

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed
File renamed without changes.

fixtures/stock.wsdl

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<definitions name="StockQuote" targetNamespace="http://example.com/stockquote.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://example.com/stockquote.wsdl" xmlns:xsd1="http://example.com/stockquote.xsd">
2+
<types>
3+
<schema targetNamespace="http://example.com/stockquote.xsd" xmlns="http://www.w3.org/2000/10/XMLSchema">
4+
<element name="TradePriceRequest">
5+
<complexType>
6+
<all>
7+
<element name="tickerSymbol" type="string"/>
8+
</all>
9+
</complexType>
10+
</element>
11+
<element name="TradePrice">
12+
<complexType>
13+
<all>
14+
<element name="price" type="float"/>
15+
</all>
16+
</complexType>
17+
</element>
18+
</schema>
19+
</types>
20+
<message name="GetLastTradePriceInput">
21+
<part element="xsd1:TradePriceRequest" name="body"/>
22+
</message>
23+
<message name="GetLastTradePriceOutput">
24+
<part element="xsd1:TradePrice" name="body"/>
25+
</message>
26+
<portType name="StockQuotePortType">
27+
<operation name="GetLastTradePrice">
28+
<input message="tns:GetLastTradePriceInput"/>
29+
<output message="tns:GetLastTradePriceOutput"/>
30+
</operation>
31+
</portType>
32+
<binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
33+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
34+
<operation name="GetLastTradePrice">
35+
<soap:operation soapAction="http://example.com/GetLastTradePrice"/>
36+
<input>
37+
<soap:body use="literal"/>
38+
</input>
39+
<output>
40+
<soap:body use="literal"/>
41+
</output>
42+
</operation>
43+
</binding>
44+
<service name="StockQuoteService">
45+
<documentation>My first service</documentation>
46+
<port binding="tns:StockQuoteBinding" name="StockQuotePort">
47+
<soap:address location="http://example.com/stockquote"/>
48+
</port>
49+
</service>
50+
</definitions>
File renamed without changes.

0 commit comments

Comments
 (0)