periodic_table 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZDc2MmE2YzZlZDljMjM2MTMyNGE0ZjdiZWY3NmU4YjgzZjhkODNiMg==
5
+ data.tar.gz: !binary |-
6
+ MzUzMWIwZmUxN2EwZDAwYjc3YzNmNzM3YWU5NzFiZjVmYWFjNmJiZg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NWQyNThkODdiNTViYWQ0NWZmMjdhYWI1MTc1ZGUyYWQzY2U2MGE1OWI5YmY5
10
+ ZTI0MzBlYjc1NWI2Yzg3ODM5NTZmMzMzOWVkNmZhOWE0ODc4MjA4NTk1ODJm
11
+ MGI1NDU1ZmM2OGJhNThlYzAwODgzZDNiYTUyNThhNzUzNjRlZTU=
12
+ data.tar.gz: !binary |-
13
+ NGFlMWE3N2M3MThlZTk2OWRiNGFhOGE3NjJlOTBiZTUxZGIwNGFiMzg0MzAy
14
+ ZjNiZjcxMjRhODRiOTU2MjdhOTM4NmZmZjUyM2VmNDMxMDM0ZjQ1YjEyNDAx
15
+ Nzg0ZjE1NzlhZWM5NTk4Njg0NDVkNjYxN2IwN2Q1NzY1Zjc3MjM=
@@ -3,15 +3,13 @@ require 'savon'
3
3
  module PeriodicTable
4
4
  class PeriodicTableApi
5
5
  def initialize
6
- @client = Savon::Client.new do
7
- wsdl.document = 'http://www.webservicex.net/periodictable.asmx?WSDL'
6
+ @client = Savon.client do
7
+ wsdl 'http://www.webservicex.net/periodictable.asmx?WSDL'
8
8
  end
9
9
  end
10
10
 
11
11
  def query(element_name)
12
- api_response = @client.request :get_atomic_number do
13
- soap.body = {'ElementName' => element_name}
14
- end
12
+ api_response = @client.call :get_atomic_number, :message => {'ElementName' => element_name}
15
13
  result = api_response.to_hash[:get_atomic_number_response][:get_atomic_number_result]
16
14
  ApiResponse.new(result)
17
15
  end
@@ -1,3 +1,3 @@
1
1
  module PeriodicTable
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,12 +1,18 @@
1
1
  ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: http://www.webservicex.net:80/periodictable.asmx?WSDL
6
- body:
7
- headers:
8
- response: !ruby/struct:VCR::Response
9
- status: !ruby/struct:VCR::ResponseStatus
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.webservicex.net/periodictable.asmx?WSDL
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ response:
15
+ status:
10
16
  code: 200
11
17
  message: OK
12
18
  headers:
@@ -23,212 +29,228 @@
23
29
  x-powered-by:
24
30
  - ASP.NET
25
31
  date:
26
- - Thu, 01 Mar 2012 00:29:10 GMT
27
- body: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
28
- xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"
29
- xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"http://www.webserviceX.NET\"
30
- xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
31
- xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" targetNamespace=\"http://www.webserviceX.NET\"
32
- xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
33
- elementFormDefault=\"qualified\" targetNamespace=\"http://www.webserviceX.NET\">\r\n
34
- \ <s:element name=\"GetAtoms\">\r\n <s:complexType />\r\n </s:element>\r\n
35
- \ <s:element name=\"GetAtomsResponse\">\r\n <s:complexType>\r\n <s:sequence>\r\n
36
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"GetAtomsResult\"
37
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
38
- \ </s:element>\r\n <s:element name=\"GetAtomicWeight\">\r\n <s:complexType>\r\n
39
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
40
- name=\"ElementName\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
41
- \ </s:element>\r\n <s:element name=\"GetAtomicWeightResponse\">\r\n
42
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
43
- minOccurs=\"0\" maxOccurs=\"1\" name=\"GetAtomicWeightResult\" type=\"s:string\"
44
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
45
- \ <s:element name=\"GetAtomicNumber\">\r\n <s:complexType>\r\n <s:sequence>\r\n
46
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"ElementName\"
47
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
48
- \ </s:element>\r\n <s:element name=\"GetAtomicNumberResponse\">\r\n
49
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
50
- minOccurs=\"0\" maxOccurs=\"1\" name=\"GetAtomicNumberResult\" type=\"s:string\"
51
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
52
- \ <s:element name=\"GetElementSymbol\">\r\n <s:complexType>\r\n <s:sequence>\r\n
53
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"ElementName\"
54
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
55
- \ </s:element>\r\n <s:element name=\"GetElementSymbolResponse\">\r\n
56
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
57
- minOccurs=\"0\" maxOccurs=\"1\" name=\"GetElementSymbolResult\" type=\"s:string\"
58
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
59
- \ <s:element name=\"string\" nillable=\"true\" type=\"s:string\" />\r\n
60
- \ </s:schema>\r\n </wsdl:types>\r\n <wsdl:message name=\"GetAtomsSoapIn\">\r\n
61
- \ <wsdl:part name=\"parameters\" element=\"tns:GetAtoms\" />\r\n </wsdl:message>\r\n
62
- \ <wsdl:message name=\"GetAtomsSoapOut\">\r\n <wsdl:part name=\"parameters\"
63
- element=\"tns:GetAtomsResponse\" />\r\n </wsdl:message>\r\n <wsdl:message
64
- name=\"GetAtomicWeightSoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:GetAtomicWeight\"
65
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightSoapOut\">\r\n
66
- \ <wsdl:part name=\"parameters\" element=\"tns:GetAtomicWeightResponse\" />\r\n
67
- \ </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberSoapIn\">\r\n <wsdl:part
68
- name=\"parameters\" element=\"tns:GetAtomicNumber\" />\r\n </wsdl:message>\r\n
69
- \ <wsdl:message name=\"GetAtomicNumberSoapOut\">\r\n <wsdl:part name=\"parameters\"
70
- element=\"tns:GetAtomicNumberResponse\" />\r\n </wsdl:message>\r\n <wsdl:message
71
- name=\"GetElementSymbolSoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:GetElementSymbol\"
72
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolSoapOut\">\r\n
73
- \ <wsdl:part name=\"parameters\" element=\"tns:GetElementSymbolResponse\"
74
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomsHttpGetIn\" />\r\n
75
- \ <wsdl:message name=\"GetAtomsHttpGetOut\">\r\n <wsdl:part name=\"Body\"
76
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightHttpGetIn\">\r\n
77
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
78
- \ <wsdl:message name=\"GetAtomicWeightHttpGetOut\">\r\n <wsdl:part name=\"Body\"
79
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberHttpGetIn\">\r\n
80
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
81
- \ <wsdl:message name=\"GetAtomicNumberHttpGetOut\">\r\n <wsdl:part name=\"Body\"
82
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolHttpGetIn\">\r\n
83
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
84
- \ <wsdl:message name=\"GetElementSymbolHttpGetOut\">\r\n <wsdl:part name=\"Body\"
85
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomsHttpPostIn\"
86
- />\r\n <wsdl:message name=\"GetAtomsHttpPostOut\">\r\n <wsdl:part name=\"Body\"
87
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightHttpPostIn\">\r\n
88
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
89
- \ <wsdl:message name=\"GetAtomicWeightHttpPostOut\">\r\n <wsdl:part name=\"Body\"
90
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberHttpPostIn\">\r\n
91
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
92
- \ <wsdl:message name=\"GetAtomicNumberHttpPostOut\">\r\n <wsdl:part name=\"Body\"
93
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolHttpPostIn\">\r\n
94
- \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
95
- \ <wsdl:message name=\"GetElementSymbolHttpPostOut\">\r\n <wsdl:part name=\"Body\"
96
- element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:portType name=\"periodictableSoap\">\r\n
97
- \ <wsdl:operation name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
98
- element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsSoapIn\"
99
- />\r\n <wsdl:output message=\"tns:GetAtomsSoapOut\" />\r\n </wsdl:operation>\r\n
100
- \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
101
- atomic wieght by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightSoapIn\"
102
- />\r\n <wsdl:output message=\"tns:GetAtomicWeightSoapOut\" />\r\n </wsdl:operation>\r\n
103
- \ <wsdl:operation name=\"GetAtomicNumber\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
104
- atomic Number by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberSoapIn\"
105
- />\r\n <wsdl:output message=\"tns:GetAtomicNumberSoapOut\" />\r\n </wsdl:operation>\r\n
106
- \ <wsdl:operation name=\"GetElementSymbol\">\r\n <wsdl:documentation
107
- xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic symbol by element
108
- name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolSoapIn\"
109
- />\r\n <wsdl:output message=\"tns:GetElementSymbolSoapOut\" />\r\n </wsdl:operation>\r\n
110
- \ </wsdl:portType>\r\n <wsdl:portType name=\"periodictableHttpGet\">\r\n <wsdl:operation
111
- name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
112
- element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsHttpGetIn\"
113
- />\r\n <wsdl:output message=\"tns:GetAtomsHttpGetOut\" />\r\n </wsdl:operation>\r\n
114
- \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
115
- atomic wieght by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightHttpGetIn\"
116
- />\r\n <wsdl:output message=\"tns:GetAtomicWeightHttpGetOut\" />\r\n </wsdl:operation>\r\n
117
- \ <wsdl:operation name=\"GetAtomicNumber\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
118
- atomic Number by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberHttpGetIn\"
119
- />\r\n <wsdl:output message=\"tns:GetAtomicNumberHttpGetOut\" />\r\n </wsdl:operation>\r\n
120
- \ <wsdl:operation name=\"GetElementSymbol\">\r\n <wsdl:documentation
121
- xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic symbol by element
122
- name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolHttpGetIn\"
123
- />\r\n <wsdl:output message=\"tns:GetElementSymbolHttpGetOut\" />\r\n </wsdl:operation>\r\n
124
- \ </wsdl:portType>\r\n <wsdl:portType name=\"periodictableHttpPost\">\r\n <wsdl:operation
125
- name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
126
- element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsHttpPostIn\"
127
- />\r\n <wsdl:output message=\"tns:GetAtomsHttpPostOut\" />\r\n </wsdl:operation>\r\n
128
- \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
129
- atomic wieght by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightHttpPostIn\"
130
- />\r\n <wsdl:output message=\"tns:GetAtomicWeightHttpPostOut\" />\r\n </wsdl:operation>\r\n
131
- \ <wsdl:operation name=\"GetAtomicNumber\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
132
- atomic Number by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberHttpPostIn\"
133
- />\r\n <wsdl:output message=\"tns:GetAtomicNumberHttpPostOut\" />\r\n </wsdl:operation>\r\n
134
- \ <wsdl:operation name=\"GetElementSymbol\">\r\n <wsdl:documentation
135
- xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic symbol by element
136
- name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolHttpPostIn\"
137
- />\r\n <wsdl:output message=\"tns:GetElementSymbolHttpPostOut\" />\r\n
138
- \ </wsdl:operation>\r\n </wsdl:portType>\r\n <wsdl:binding name=\"periodictableSoap\"
139
- type=\"tns:periodictableSoap\">\r\n <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\"
140
- />\r\n <wsdl:operation name=\"GetAtoms\">\r\n <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtoms\"
141
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
142
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
143
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicWeight\">\r\n
144
- \ <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtomicWeight\"
145
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
146
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
147
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
148
- \ <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtomicNumber\"
149
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
150
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
151
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
152
- \ <soap:operation soapAction=\"http://www.webserviceX.NET/GetElementSymbol\"
153
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
154
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
155
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
156
- \ <wsdl:binding name=\"periodictableSoap12\" type=\"tns:periodictableSoap\">\r\n
157
- \ <soap12:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
158
- \ <wsdl:operation name=\"GetAtoms\">\r\n <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtoms\"
159
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
160
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
161
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicWeight\">\r\n
162
- \ <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtomicWeight\"
163
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
164
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
165
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
166
- \ <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtomicNumber\"
167
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
168
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
169
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
170
- \ <soap12:operation soapAction=\"http://www.webserviceX.NET/GetElementSymbol\"
171
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
172
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
173
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
174
- \ <wsdl:binding name=\"periodictableHttpGet\" type=\"tns:periodictableHttpGet\">\r\n
175
- \ <http:binding verb=\"GET\" />\r\n <wsdl:operation name=\"GetAtoms\">\r\n
176
- \ <http:operation location=\"/GetAtoms\" />\r\n <wsdl:input>\r\n <http:urlEncoded
177
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml part=\"Body\"
178
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicWeight\">\r\n
179
- \ <http:operation location=\"/GetAtomicWeight\" />\r\n <wsdl:input>\r\n
180
- \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
181
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
182
- \ <wsdl:operation name=\"GetAtomicNumber\">\r\n <http:operation location=\"/GetAtomicNumber\"
183
- />\r\n <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
184
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
185
- \ </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
186
- \ <http:operation location=\"/GetElementSymbol\" />\r\n <wsdl:input>\r\n
187
- \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
188
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
189
- \ </wsdl:binding>\r\n <wsdl:binding name=\"periodictableHttpPost\" type=\"tns:periodictableHttpPost\">\r\n
190
- \ <http:binding verb=\"POST\" />\r\n <wsdl:operation name=\"GetAtoms\">\r\n
191
- \ <http:operation location=\"/GetAtoms\" />\r\n <wsdl:input>\r\n <mime:content
192
- type=\"application/x-www-form-urlencoded\" />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
193
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
194
- \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <http:operation location=\"/GetAtomicWeight\"
195
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
196
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml part=\"Body\"
197
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
198
- \ <http:operation location=\"/GetAtomicNumber\" />\r\n <wsdl:input>\r\n
199
- \ <mime:content type=\"application/x-www-form-urlencoded\" />\r\n </wsdl:input>\r\n
200
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
201
- \ </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
202
- \ <http:operation location=\"/GetElementSymbol\" />\r\n <wsdl:input>\r\n
203
- \ <mime:content type=\"application/x-www-form-urlencoded\" />\r\n </wsdl:input>\r\n
204
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
205
- \ </wsdl:operation>\r\n </wsdl:binding>\r\n <wsdl:service name=\"periodictable\">\r\n
206
- \ <wsdl:port name=\"periodictableSoap\" binding=\"tns:periodictableSoap\">\r\n
207
- \ <soap:address location=\"http://www.webservicex.net/periodictable.asmx\"
208
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableSoap12\" binding=\"tns:periodictableSoap12\">\r\n
209
- \ <soap12:address location=\"http://www.webservicex.net/periodictable.asmx\"
210
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableHttpGet\" binding=\"tns:periodictableHttpGet\">\r\n
211
- \ <http:address location=\"http://www.webservicex.net/periodictable.asmx\"
212
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableHttpPost\" binding=\"tns:periodictableHttpPost\">\r\n
213
- \ <http:address location=\"http://www.webservicex.net/periodictable.asmx\"
214
- />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
32
+ - Thu, 14 Aug 2014 16:58:00 GMT
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\"
36
+ xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\"
37
+ xmlns:tns=\"http://www.webserviceX.NET\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
38
+ xmlns:s=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\"
39
+ xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\" targetNamespace=\"http://www.webserviceX.NET\"
40
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
41
+ elementFormDefault=\"qualified\" targetNamespace=\"http://www.webserviceX.NET\">\r\n
42
+ \ <s:element name=\"GetAtoms\">\r\n <s:complexType />\r\n </s:element>\r\n
43
+ \ <s:element name=\"GetAtomsResponse\">\r\n <s:complexType>\r\n
44
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
45
+ name=\"GetAtomsResult\" type=\"s:string\" />\r\n </s:sequence>\r\n
46
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"GetAtomicWeight\">\r\n
47
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
48
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"ElementName\" type=\"s:string\" />\r\n
49
+ \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
50
+ \ <s:element name=\"GetAtomicWeightResponse\">\r\n <s:complexType>\r\n
51
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
52
+ name=\"GetAtomicWeightResult\" type=\"s:string\" />\r\n </s:sequence>\r\n
53
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"GetAtomicNumber\">\r\n
54
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
55
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"ElementName\" type=\"s:string\" />\r\n
56
+ \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
57
+ \ <s:element name=\"GetAtomicNumberResponse\">\r\n <s:complexType>\r\n
58
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
59
+ name=\"GetAtomicNumberResult\" type=\"s:string\" />\r\n </s:sequence>\r\n
60
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"GetElementSymbol\">\r\n
61
+ \ <s:complexType>\r\n <s:sequence>\r\n <s:element
62
+ minOccurs=\"0\" maxOccurs=\"1\" name=\"ElementName\" type=\"s:string\" />\r\n
63
+ \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
64
+ \ <s:element name=\"GetElementSymbolResponse\">\r\n <s:complexType>\r\n
65
+ \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
66
+ name=\"GetElementSymbolResult\" type=\"s:string\" />\r\n </s:sequence>\r\n
67
+ \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"string\"
68
+ nillable=\"true\" type=\"s:string\" />\r\n </s:schema>\r\n </wsdl:types>\r\n
69
+ \ <wsdl:message name=\"GetAtomsSoapIn\">\r\n <wsdl:part name=\"parameters\"
70
+ element=\"tns:GetAtoms\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomsSoapOut\">\r\n
71
+ \ <wsdl:part name=\"parameters\" element=\"tns:GetAtomsResponse\" />\r\n
72
+ \ </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightSoapIn\">\r\n <wsdl:part
73
+ name=\"parameters\" element=\"tns:GetAtomicWeight\" />\r\n </wsdl:message>\r\n
74
+ \ <wsdl:message name=\"GetAtomicWeightSoapOut\">\r\n <wsdl:part name=\"parameters\"
75
+ element=\"tns:GetAtomicWeightResponse\" />\r\n </wsdl:message>\r\n <wsdl:message
76
+ name=\"GetAtomicNumberSoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:GetAtomicNumber\"
77
+ />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberSoapOut\">\r\n
78
+ \ <wsdl:part name=\"parameters\" element=\"tns:GetAtomicNumberResponse\"
79
+ />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolSoapIn\">\r\n
80
+ \ <wsdl:part name=\"parameters\" element=\"tns:GetElementSymbol\" />\r\n
81
+ \ </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolSoapOut\">\r\n
82
+ \ <wsdl:part name=\"parameters\" element=\"tns:GetElementSymbolResponse\"
83
+ />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomsHttpGetIn\" />\r\n
84
+ \ <wsdl:message name=\"GetAtomsHttpGetOut\">\r\n <wsdl:part name=\"Body\"
85
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightHttpGetIn\">\r\n
86
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
87
+ \ <wsdl:message name=\"GetAtomicWeightHttpGetOut\">\r\n <wsdl:part name=\"Body\"
88
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberHttpGetIn\">\r\n
89
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
90
+ \ <wsdl:message name=\"GetAtomicNumberHttpGetOut\">\r\n <wsdl:part name=\"Body\"
91
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolHttpGetIn\">\r\n
92
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
93
+ \ <wsdl:message name=\"GetElementSymbolHttpGetOut\">\r\n <wsdl:part name=\"Body\"
94
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomsHttpPostIn\"
95
+ />\r\n <wsdl:message name=\"GetAtomsHttpPostOut\">\r\n <wsdl:part name=\"Body\"
96
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicWeightHttpPostIn\">\r\n
97
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
98
+ \ <wsdl:message name=\"GetAtomicWeightHttpPostOut\">\r\n <wsdl:part name=\"Body\"
99
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetAtomicNumberHttpPostIn\">\r\n
100
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
101
+ \ <wsdl:message name=\"GetAtomicNumberHttpPostOut\">\r\n <wsdl:part name=\"Body\"
102
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"GetElementSymbolHttpPostIn\">\r\n
103
+ \ <wsdl:part name=\"ElementName\" type=\"s:string\" />\r\n </wsdl:message>\r\n
104
+ \ <wsdl:message name=\"GetElementSymbolHttpPostOut\">\r\n <wsdl:part name=\"Body\"
105
+ element=\"tns:string\" />\r\n </wsdl:message>\r\n <wsdl:portType name=\"periodictableSoap\">\r\n
106
+ \ <wsdl:operation name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
107
+ element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsSoapIn\"
108
+ />\r\n <wsdl:output message=\"tns:GetAtomsSoapOut\" />\r\n </wsdl:operation>\r\n
109
+ \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation
110
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic wieght by element
111
+ name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightSoapIn\"
112
+ />\r\n <wsdl:output message=\"tns:GetAtomicWeightSoapOut\" />\r\n </wsdl:operation>\r\n
113
+ \ <wsdl:operation name=\"GetAtomicNumber\">\r\n <wsdl:documentation
114
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic Number by element
115
+ name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberSoapIn\"
116
+ />\r\n <wsdl:output message=\"tns:GetAtomicNumberSoapOut\" />\r\n </wsdl:operation>\r\n
117
+ \ <wsdl:operation name=\"GetElementSymbol\">\r\n <wsdl:documentation
118
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic symbol by element
119
+ name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolSoapIn\"
120
+ />\r\n <wsdl:output message=\"tns:GetElementSymbolSoapOut\" />\r\n </wsdl:operation>\r\n
121
+ \ </wsdl:portType>\r\n <wsdl:portType name=\"periodictableHttpGet\">\r\n
122
+ \ <wsdl:operation name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
123
+ element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsHttpGetIn\"
124
+ />\r\n <wsdl:output message=\"tns:GetAtomsHttpGetOut\" />\r\n </wsdl:operation>\r\n
125
+ \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation
126
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic wieght by element
127
+ name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightHttpGetIn\"
128
+ />\r\n <wsdl:output message=\"tns:GetAtomicWeightHttpGetOut\" />\r\n
129
+ \ </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
130
+ \ <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
131
+ atomic Number by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberHttpGetIn\"
132
+ />\r\n <wsdl:output message=\"tns:GetAtomicNumberHttpGetOut\" />\r\n
133
+ \ </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
134
+ \ <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
135
+ atomic symbol by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolHttpGetIn\"
136
+ />\r\n <wsdl:output message=\"tns:GetElementSymbolHttpGetOut\" />\r\n
137
+ \ </wsdl:operation>\r\n </wsdl:portType>\r\n <wsdl:portType name=\"periodictableHttpPost\">\r\n
138
+ \ <wsdl:operation name=\"GetAtoms\">\r\n <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
139
+ element </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomsHttpPostIn\"
140
+ />\r\n <wsdl:output message=\"tns:GetAtomsHttpPostOut\" />\r\n </wsdl:operation>\r\n
141
+ \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <wsdl:documentation
142
+ xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get atomic wieght by element
143
+ name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicWeightHttpPostIn\"
144
+ />\r\n <wsdl:output message=\"tns:GetAtomicWeightHttpPostOut\" />\r\n
145
+ \ </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
146
+ \ <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
147
+ atomic Number by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetAtomicNumberHttpPostIn\"
148
+ />\r\n <wsdl:output message=\"tns:GetAtomicNumberHttpPostOut\" />\r\n
149
+ \ </wsdl:operation>\r\n <wsdl:operation name=\"GetElementSymbol\">\r\n
150
+ \ <wsdl:documentation xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">Get
151
+ atomic symbol by element name </wsdl:documentation>\r\n <wsdl:input message=\"tns:GetElementSymbolHttpPostIn\"
152
+ />\r\n <wsdl:output message=\"tns:GetElementSymbolHttpPostOut\" />\r\n
153
+ \ </wsdl:operation>\r\n </wsdl:portType>\r\n <wsdl:binding name=\"periodictableSoap\"
154
+ type=\"tns:periodictableSoap\">\r\n <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\"
155
+ />\r\n <wsdl:operation name=\"GetAtoms\">\r\n <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtoms\"
156
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
157
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
158
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
159
+ name=\"GetAtomicWeight\">\r\n <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtomicWeight\"
160
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
161
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
162
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
163
+ name=\"GetAtomicNumber\">\r\n <soap:operation soapAction=\"http://www.webserviceX.NET/GetAtomicNumber\"
164
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
165
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
166
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
167
+ name=\"GetElementSymbol\">\r\n <soap:operation soapAction=\"http://www.webserviceX.NET/GetElementSymbol\"
168
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
169
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
170
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
171
+ \ <wsdl:binding name=\"periodictableSoap12\" type=\"tns:periodictableSoap\">\r\n
172
+ \ <soap12:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
173
+ \ <wsdl:operation name=\"GetAtoms\">\r\n <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtoms\"
174
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
175
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
176
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
177
+ name=\"GetAtomicWeight\">\r\n <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtomicWeight\"
178
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
179
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
180
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
181
+ name=\"GetAtomicNumber\">\r\n <soap12:operation soapAction=\"http://www.webserviceX.NET/GetAtomicNumber\"
182
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
183
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
184
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
185
+ name=\"GetElementSymbol\">\r\n <soap12:operation soapAction=\"http://www.webserviceX.NET/GetElementSymbol\"
186
+ style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
187
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
188
+ />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
189
+ \ <wsdl:binding name=\"periodictableHttpGet\" type=\"tns:periodictableHttpGet\">\r\n
190
+ \ <http:binding verb=\"GET\" />\r\n <wsdl:operation name=\"GetAtoms\">\r\n
191
+ \ <http:operation location=\"/GetAtoms\" />\r\n <wsdl:input>\r\n
192
+ \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
193
+ \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
194
+ \ <wsdl:operation name=\"GetAtomicWeight\">\r\n <http:operation location=\"/GetAtomicWeight\"
195
+ />\r\n <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
196
+ \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
197
+ \ </wsdl:operation>\r\n <wsdl:operation name=\"GetAtomicNumber\">\r\n
198
+ \ <http:operation location=\"/GetAtomicNumber\" />\r\n <wsdl:input>\r\n
199
+ \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
200
+ \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
201
+ \ <wsdl:operation name=\"GetElementSymbol\">\r\n <http:operation location=\"/GetElementSymbol\"
202
+ />\r\n <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
203
+ \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
204
+ \ </wsdl:operation>\r\n </wsdl:binding>\r\n <wsdl:binding name=\"periodictableHttpPost\"
205
+ type=\"tns:periodictableHttpPost\">\r\n <http:binding verb=\"POST\" />\r\n
206
+ \ <wsdl:operation name=\"GetAtoms\">\r\n <http:operation location=\"/GetAtoms\"
207
+ />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
208
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
209
+ part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
210
+ name=\"GetAtomicWeight\">\r\n <http:operation location=\"/GetAtomicWeight\"
211
+ />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
212
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
213
+ part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
214
+ name=\"GetAtomicNumber\">\r\n <http:operation location=\"/GetAtomicNumber\"
215
+ />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
216
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
217
+ part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
218
+ name=\"GetElementSymbol\">\r\n <http:operation location=\"/GetElementSymbol\"
219
+ />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
220
+ />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
221
+ part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
222
+ \ <wsdl:service name=\"periodictable\">\r\n <wsdl:port name=\"periodictableSoap\"
223
+ binding=\"tns:periodictableSoap\">\r\n <soap:address location=\"http://www.webservicex.net/periodictable.asmx\"
224
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableSoap12\" binding=\"tns:periodictableSoap12\">\r\n
225
+ \ <soap12:address location=\"http://www.webservicex.net/periodictable.asmx\"
226
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableHttpGet\" binding=\"tns:periodictableHttpGet\">\r\n
227
+ \ <http:address location=\"http://www.webservicex.net/periodictable.asmx\"
228
+ />\r\n </wsdl:port>\r\n <wsdl:port name=\"periodictableHttpPost\" binding=\"tns:periodictableHttpPost\">\r\n
229
+ \ <http:address location=\"http://www.webservicex.net/periodictable.asmx\"
230
+ />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
215
231
  http_version: '1.1'
216
- - !ruby/struct:VCR::HTTPInteraction
217
- request: !ruby/struct:VCR::Request
218
- method: :post
219
- uri: http://www.webservicex.net:80/periodictable.asmx
220
- body: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
221
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://www.webserviceX.NET"
222
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://www.webserviceX.NET"><env:Body><ins0:GetAtomicNumber><ins0:ElementName>oxygen</ins0:ElementName></ins0:GetAtomicNumber></env:Body></env:Envelope>
232
+ recorded_at: Thu, 14 Aug 2014 16:57:53 GMT
233
+ - request:
234
+ method: post
235
+ uri: http://www.webservicex.net/periodictable.asmx
236
+ body:
237
+ encoding: US-ASCII
238
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
239
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.webserviceX.NET"
240
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:GetAtomicNumber><tns:ElementName>oxygen</tns:ElementName></tns:GetAtomicNumber></env:Body></env:Envelope>
223
241
  headers:
224
242
  soapaction:
225
243
  - ! '"http://www.webserviceX.NET/GetAtomicNumber"'
226
244
  content-type:
227
245
  - text/xml;charset=UTF-8
228
246
  content-length:
229
- - '409'
230
- response: !ruby/struct:VCR::Response
231
- status: !ruby/struct:VCR::ResponseStatus
247
+ - '364'
248
+ accept:
249
+ - ! '*/*'
250
+ user-agent:
251
+ - Ruby
252
+ response:
253
+ status:
232
254
  code: 200
233
255
  message: OK
234
256
  headers:
@@ -245,14 +267,18 @@
245
267
  x-powered-by:
246
268
  - ASP.NET
247
269
  date:
248
- - Thu, 01 Mar 2012 00:29:11 GMT
249
- body: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
250
- xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><GetAtomicNumberResponse
251
- xmlns=\"http://www.webserviceX.NET\"><GetAtomicNumberResult>&lt;NewDataSet&gt;\r\n
252
- \ &lt;Table&gt;\r\n &lt;AtomicNumber&gt;8&lt;/AtomicNumber&gt;\r\n &lt;ElementName&gt;Oxygen&lt;/ElementName&gt;\r\n
253
- \ &lt;Symbol&gt;O&lt;/Symbol&gt;\r\n &lt;AtomicWeight&gt;15.9994&lt;/AtomicWeight&gt;\r\n
254
- \ &lt;BoilingPoint&gt;90.2&lt;/BoilingPoint&gt;\r\n &lt;IonisationPotential&gt;13.61&lt;/IonisationPotential&gt;\r\n
255
- \ &lt;EletroNegativity&gt;3.5&lt;/EletroNegativity&gt;\r\n &lt;AtomicRadius&gt;0.74&lt;/AtomicRadius&gt;\r\n
256
- \ &lt;MeltingPoint&gt;55&lt;/MeltingPoint&gt;\r\n &lt;Density&gt;1.3318&lt;/Density&gt;\r\n
257
- \ &lt;/Table&gt;\r\n&lt;/NewDataSet&gt;</GetAtomicNumberResult></GetAtomicNumberResponse></soap:Body></soap:Envelope>"
270
+ - Thu, 14 Aug 2014 16:58:00 GMT
271
+ body:
272
+ encoding: US-ASCII
273
+ string: ! "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
274
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><GetAtomicNumberResponse
275
+ xmlns=\"http://www.webserviceX.NET\"><GetAtomicNumberResult>&lt;NewDataSet&gt;\r\n
276
+ \ &lt;Table&gt;\r\n &lt;AtomicNumber&gt;8&lt;/AtomicNumber&gt;\r\n &lt;ElementName&gt;Oxygen&lt;/ElementName&gt;\r\n
277
+ \ &lt;Symbol&gt;O&lt;/Symbol&gt;\r\n &lt;AtomicWeight&gt;15.9994&lt;/AtomicWeight&gt;\r\n
278
+ \ &lt;BoilingPoint&gt;90.2&lt;/BoilingPoint&gt;\r\n &lt;IonisationPotential&gt;13.61&lt;/IonisationPotential&gt;\r\n
279
+ \ &lt;EletroNegativity&gt;3.5&lt;/EletroNegativity&gt;\r\n &lt;AtomicRadius&gt;0.74&lt;/AtomicRadius&gt;\r\n
280
+ \ &lt;MeltingPoint&gt;55&lt;/MeltingPoint&gt;\r\n &lt;Density&gt;1.3318&lt;/Density&gt;\r\n
281
+ \ &lt;/Table&gt;\r\n&lt;/NewDataSet&gt;</GetAtomicNumberResult></GetAtomicNumberResponse></soap:Body></soap:Envelope>"
258
282
  http_version: '1.1'
283
+ recorded_at: Thu, 14 Aug 2014 16:57:54 GMT
284
+ recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,71 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: periodic_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Stephen Ball
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-03-01 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
- requirement: &2151919680 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *2151919680
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rspec
27
- requirement: &2151918760 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ! '>='
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *2151918760
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: fakeweb
38
- requirement: &2151918060 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
45
  - - ! '>='
42
46
  - !ruby/object:Gem::Version
43
47
  version: '0'
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *2151918060
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: vcr
49
- requirement: &2151917380 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *2151917380
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: savon
60
- requirement: &2151916720 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
73
  - - ! '>='
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :runtime
67
77
  prerelease: false
68
- version_requirements: *2151916720
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: Provide data on elements in the periodic table.
70
84
  email:
71
85
  - sdball@gmail.com
@@ -88,27 +102,26 @@ files:
88
102
  - spec/support/cassettes/periodic_table.yml
89
103
  homepage: https://github.com/sdball/periodic_table
90
104
  licenses: []
105
+ metadata: {}
91
106
  post_install_message:
92
107
  rdoc_options: []
93
108
  require_paths:
94
109
  - lib
95
110
  required_ruby_version: !ruby/object:Gem::Requirement
96
- none: false
97
111
  requirements:
98
112
  - - ! '>='
99
113
  - !ruby/object:Gem::Version
100
114
  version: '0'
101
115
  required_rubygems_version: !ruby/object:Gem::Requirement
102
- none: false
103
116
  requirements:
104
117
  - - ! '>='
105
118
  - !ruby/object:Gem::Version
106
119
  version: '0'
107
120
  requirements: []
108
121
  rubyforge_project: periodic_table
109
- rubygems_version: 1.8.10
122
+ rubygems_version: 2.2.2
110
123
  signing_key:
111
- specification_version: 3
124
+ specification_version: 4
112
125
  summary: Provide periodic table data.
113
126
  test_files:
114
127
  - spec/lib/periodic_table_spec.rb