test/fixtures/stock_quote.wsdl in lolsoap-0.5.1 vs test/fixtures/stock_quote.wsdl in lolsoap-0.6.0
- old
+ new
@@ -25,10 +25,16 @@
<all>
<element name="Price" type="xsd3:price"/>
</all>
</complexType>
</element>
+ <element name="tradePriceRequestHeader">
+ <sequence>
+ <element name="username" type="xs:string"/>
+ <element name="password" type="xs:string"/>
+ </sequence>
+ </element>
<element name="tradePriceRequest" type="xsd1:TradePriceRequest" />
<complexType name="xsd1:TradePriceRequest" abstract="false">
<complexContent>
<extension base="xsd1:BaseRequest">
<sequence>
@@ -80,10 +86,14 @@
</sequence>
</complexType>
</schema>
</types>
+ <message name="GetLastTradePriceInputHeader">
+ <part name="header" element="xsd1:tradePriceRequestHeader"/>
+ </message>
+
<message name="GetLastTradePriceInput">
<part name="body" xmlns:foo="http://example.com/stockquote.xsd" element="foo:tradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
@@ -112,21 +122,24 @@
<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:header use="literal" message="GetLastTradePriceInputHeader" />
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="GetHistoricalPrice">
<soap:operation soapAction="http://example.com/GetHistoricalPrice"/>
<input>
+ <soap:header use="literal"/>
<soap:body use="literal"/>
</input>
<output>
+ <soap:header use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>