-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConvertWeight.wsdl
150 lines (150 loc) · 6.53 KB
/
ConvertWeight.wsdl
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
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://www.webserviceX.NET/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET/">
<s:element name="ConvertWeight">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Weight" type="s:double" />
<s:element minOccurs="1" maxOccurs="1" name="FromUnit" type="tns:WeightUnit" />
<s:element minOccurs="1" maxOccurs="1" name="ToUnit" type="tns:WeightUnit" />
</s:sequence>
</s:complexType>
</s:element>
<s:simpleType name="WeightUnit">
<s:restriction base="s:string">
<s:enumeration value="Grains" />
<s:enumeration value="Scruples" />
<s:enumeration value="Carats" />
<s:enumeration value="Grams" />
<s:enumeration value="Pennyweight" />
<s:enumeration value="DramAvoir" />
<s:enumeration value="DramApoth" />
<s:enumeration value="OuncesAvoir" />
<s:enumeration value="OuncesTroyApoth" />
<s:enumeration value="Poundals" />
<s:enumeration value="PoundsTroy" />
<s:enumeration value="PoundsAvoir" />
<s:enumeration value="Kilograms" />
<s:enumeration value="Stones" />
<s:enumeration value="QuarterUS" />
<s:enumeration value="Slugs" />
<s:enumeration value="weight100UScwt" />
<s:enumeration value="ShortTons" />
<s:enumeration value="MetricTonsTonne" />
<s:enumeration value="LongTons" />
</s:restriction>
</s:simpleType>
<s:element name="ConvertWeightResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ConvertWeightResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="double" type="s:double" />
</s:schema>
</wsdl:types>
<wsdl:message name="ConvertWeightSoapIn">
<wsdl:part name="parameters" element="tns:ConvertWeight" />
</wsdl:message>
<wsdl:message name="ConvertWeightSoapOut">
<wsdl:part name="parameters" element="tns:ConvertWeightResponse" />
</wsdl:message>
<wsdl:message name="ConvertWeightHttpGetIn">
<wsdl:part name="Weight" type="s:string" />
<wsdl:part name="FromUnit" type="s:string" />
<wsdl:part name="ToUnit" type="s:string" />
</wsdl:message>
<wsdl:message name="ConvertWeightHttpGetOut">
<wsdl:part name="Body" element="tns:double" />
</wsdl:message>
<wsdl:message name="ConvertWeightHttpPostIn">
<wsdl:part name="Weight" type="s:string" />
<wsdl:part name="FromUnit" type="s:string" />
<wsdl:part name="ToUnit" type="s:string" />
</wsdl:message>
<wsdl:message name="ConvertWeightHttpPostOut">
<wsdl:part name="Body" element="tns:double" />
</wsdl:message>
<wsdl:portType name="ConvertWeightsSoap">
<wsdl:operation name="ConvertWeight">
<wsdl:input message="tns:ConvertWeightSoapIn" />
<wsdl:output message="tns:ConvertWeightSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ConvertWeightsHttpGet">
<wsdl:operation name="ConvertWeight">
<wsdl:input message="tns:ConvertWeightHttpGetIn" />
<wsdl:output message="tns:ConvertWeightHttpGetOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ConvertWeightsHttpPost">
<wsdl:operation name="ConvertWeight">
<wsdl:input message="tns:ConvertWeightHttpPostIn" />
<wsdl:output message="tns:ConvertWeightHttpPostOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ConvertWeightsSoap" type="tns:ConvertWeightsSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ConvertWeight">
<soap:operation soapAction="http://www.webserviceX.NET/ConvertWeight" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ConvertWeightsSoap12" type="tns:ConvertWeightsSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ConvertWeight">
<soap12:operation soapAction="http://www.webserviceX.NET/ConvertWeight" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ConvertWeightsHttpGet" type="tns:ConvertWeightsHttpGet">
<http:binding verb="GET" />
<wsdl:operation name="ConvertWeight">
<http:operation location="/ConvertWeight" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ConvertWeightsHttpPost" type="tns:ConvertWeightsHttpPost">
<http:binding verb="POST" />
<wsdl:operation name="ConvertWeight">
<http:operation location="/ConvertWeight" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ConvertWeights">
<wsdl:port name="ConvertWeightsSoap" binding="tns:ConvertWeightsSoap">
<soap:address location="http://www.webservicex.net/ConvertWeight.asmx" />
</wsdl:port>
<wsdl:port name="ConvertWeightsSoap12" binding="tns:ConvertWeightsSoap12">
<soap12:address location="http://www.webservicex.net/ConvertWeight.asmx" />
</wsdl:port>
<wsdl:port name="ConvertWeightsHttpGet" binding="tns:ConvertWeightsHttpGet">
<http:address location="http://www.webservicex.net/ConvertWeight.asmx" />
</wsdl:port>
<wsdl:port name="ConvertWeightsHttpPost" binding="tns:ConvertWeightsHttpPost">
<http:address location="http://www.webservicex.net/ConvertWeight.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>