blob: deb00d04730aa548bf7ff6edcd9b601001a5cbc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://swanandmokashi.com"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://swanandmokashi.com"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified"
targetNamespace="http://swanandmokashi.com">
<s:element name="GetQuotes">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="QuoteTicker" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetQuotesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetQuotesResult" type="s0:ArrayOfQuote" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfQuote">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded"
name="Quote" type="s0:Quote" />
</s:sequence>
</s:complexType>
<s:complexType name="Quote">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="CompanyName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="StockTicker" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="StockQuote" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="LastUpdated" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Change"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="OpenPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="DayHighPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="DayLowPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Volume"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="MarketCap" type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
name="YearRange" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="ArrayOfQuote" nillable="true"
type="s0:ArrayOfQuote" />
</s:schema>
</types>
<message name="GetQuotesSoapIn">
<part name="parameters" element="s0:GetQuotes" />
</message>
<message name="GetQuotesSoapOut">
<part name="parameters" element="s0:GetQuotesResponse" />
</message>
<message name="GetQuotesHttpGetIn">
<part name="QuoteTicker" type="s:string" />
</message>
<message name="GetQuotesHttpGetOut">
<part name="Body" element="s0:ArrayOfQuote" />
</message>
<message name="GetQuotesHttpPostIn">
<part name="QuoteTicker" type="s:string" />
</message>
<message name="GetQuotesHttpPostOut">
<part name="Body" element="s0:ArrayOfQuote" />
</message>
<portType name="StockQuotesSoap">
<operation name="GetStockQuotes">
<input name="GetQuotes" message="s0:GetQuotesSoapIn" />
<output name="GetQuotes" message="s0:GetQuotesSoapOut" />
</operation>
</portType>
<portType name="StockQuotesHttpGet">
<operation name="GetStockQuotes">
<input name="GetQuotes" message="s0:GetQuotesHttpGetIn" />
<output name="GetQuotes" message="s0:GetQuotesHttpGetOut" />
</operation>
</portType>
<portType name="StockQuotesHttpPost">
<operation name="GetStockQuotes">
<input name="GetQuotes" message="s0:GetQuotesHttpPostIn" />
<output name="GetQuotes" message="s0:GetQuotesHttpPostOut" />
</operation>
</portType>
<binding name="StockQuotesSoap" type="s0:StockQuotesSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="GetStockQuotes">
<soap:operation
soapAction="http://swanandmokashi.com/GetQuotes" style="document" />
<input name="GetQuotes">
<soap:body use="literal" />
</input>
<output name="GetQuotes">
<soap:body use="literal" />
</output>
</operation>
</binding>
<binding name="StockQuotesHttpGet" type="s0:StockQuotesHttpGet">
<http:binding verb="GET" />
<operation name="GetStockQuotes">
<http:operation location="/GetQuotes" />
<input name="GetQuotes">
<http:urlEncoded />
</input>
<output name="GetQuotes">
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<binding name="StockQuotesHttpPost" type="s0:StockQuotesHttpPost">
<http:binding verb="POST" />
<operation name="GetStockQuotes">
<http:operation location="/GetQuotes" />
<input name="GetQuotes">
<mime:content type="application/x-www-form-urlencoded" />
</input>
<output name="GetQuotes">
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<service name="StockQuotes">
<port name="StockQuotesSoap" binding="s0:StockQuotesSoap">
<soap:address
location="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx" />
</port>
<port name="StockQuotesHttpGet"
binding="s0:StockQuotesHttpGet">
<http:address
location="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx" />
</port>
<port name="StockQuotesHttpPost"
binding="s0:StockQuotesHttpPost">
<http:address
location="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx" />
</port>
</service>
</definitions>
|