Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 435 lines (268 sloc) 17.877 kB
a304cf0 @rubiii updated changelog for v0.8.2
rubiii authored
1 ## 0.8.2 (2010-01-04)
818b164 @rubiii updated the changelog
rubiii authored
2
3 * Fix for [issue #127](https://github.com/rubiii/savon/issues/127) ([0eb3da](https://github.com/rubiii/savon/commit/0eb3da4))
4
a304cf0 @rubiii updated changelog for v0.8.2
rubiii authored
5 * Changed `Savon::WSSE` to be based on a Hash instead of relying on builder ([4cebc3](https://github.com/rubiii/savon/commit/4cebc3)).
6
7 `Savon::WSSE` now supports wsse:Timestamp headers ([issue #122](https://github.com/rubiii/savon/issues/122)) by setting
8 `Savon::WSSE#timestamp` to `true`:
9
10 client.request :some_method do
11 wsse.timestamp = true
12 end
13
14 or by setting `Savon::WSSE#created_at` or `Savon::WSSE#expires_at`:
15
16 client.request :some_method do
17 wsse.created_at = Time.now
18 wsse.expires_at = Time.now + 60
19 end
20
21 You can also add custom tags to the WSSE header ([issue #69](https://github.com/rubiii/savon/issues/69)):
22
23 client.request :some_method do
24 wsse["wsse:Security"]["wsse:UsernameToken"] = { "Organization" => "ACME", "Domain" => "acme.com" }
25 end
26
818b164 @rubiii updated the changelog
rubiii authored
27 ## 0.8.1 (2010-12-22)
66f5423 @rubiii updated CHANGELOG
rubiii authored
28
29 * Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.
30
818b164 @rubiii updated the changelog
rubiii authored
31 * Fix for [issue #72](https://github.com/rubiii/savon/issues/72) ([22074a](https://github.com/rubiii/savon/commit/22074a8)).
66f5423 @rubiii updated CHANGELOG
rubiii authored
32
b95e483 @rubiii loosen dependency on builder
rubiii authored
33 * Loosen dependency on builder. Should be quite stable.
34
66f5423 @rubiii updated CHANGELOG
rubiii authored
35 ## 0.8.0 (2010-12-20)
51fa0e6 @rubiii made the SOAP envelope namespace configurable
rubiii authored
36
a96b7c6 @rubiii links. they're hard ;)
rubiii authored
37 * Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/rubiii/savon/commit/51fa0e)) to configure
54c723a @rubiii added commit links
rubiii authored
38 the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
39 tags without a namespace.
51fa0e6 @rubiii made the SOAP envelope namespace configurable
rubiii authored
40
bac4b4d @rubiii moved hash to xml translation into a new gem
rubiii authored
41 * Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
a96b7c6 @rubiii links. they're hard ;)
rubiii authored
42 [Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/rubiii/savon/commit/bac4b4)).
bac4b4d @rubiii moved hash to xml translation into a new gem
rubiii authored
43
0183bf6 @rubiii updated changelog
rubiii authored
44 ## 0.8.0.beta.4 (2010-11-20)
45
19c4d7c @rubiii formatted commit links
rubiii authored
46 * Fix for [issue #107](https://github.com/rubiii/savon/issues/107) ([1d6eda](https://github.com/rubiii/savon/commit/1d6eda)).
0183bf6 @rubiii updated changelog
rubiii authored
47
54c723a @rubiii added commit links
rubiii authored
48 * Fix for [issue #108](https://github.com/rubiii/savon/issues/108)
19c4d7c @rubiii formatted commit links
rubiii authored
49 ([f64400...0aaca2](https://github.com/rubiii/savon/compare/f64400...0aaca2)) Thanks [fagiani](https://github.com/fagiani).
0183bf6 @rubiii updated changelog
rubiii authored
50
54c723a @rubiii added commit links
rubiii authored
51 * Replaced `Savon.response_pattern` with a slightly different implementation of the `Savon::SOAP::Response#to_array` method
19c4d7c @rubiii formatted commit links
rubiii authored
52 ([6df6a6](https://github.com/rubiii/savon/commit/6df6a6)). The method now accepts multiple arguments representing the response
54c723a @rubiii added commit links
rubiii authored
53 Hash keys to traverse and returns the result as an Array or an empty Array in case the key is nil or does not exist.
0183bf6 @rubiii updated changelog
rubiii authored
54
55 response.to_array :get_user_response, :return
56 # => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
57
58 ## 0.8.0.beta.3 (2010-11-06)
59
54c723a @rubiii added commit links
rubiii authored
60 * Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
19c4d7c @rubiii formatted commit links
rubiii authored
61 ([c34b42](https://github.com/rubiii/savon/commit/c34b42)).
0183bf6 @rubiii updated changelog
rubiii authored
62
abc42be @rubiii updated changelog for v0.8.0.beta.2
rubiii authored
63 ## 0.8.0.beta.2 (2010-11-05)
64
19c4d7c @rubiii formatted commit links
rubiii authored
65 * Added `Savon.response_pattern` ([0a12fb](https://github.com/rubiii/savon/commit/0a12fb)) to automatically walk deeper into
54c723a @rubiii added commit links
rubiii authored
66 the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
abc42be @rubiii updated changelog for v0.8.0.beta.2
rubiii authored
67 your response always looks like ".+Response/return" as in:
68
69 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
70 <soap:Body>
71 <ns2:authenticateResponse xmlns:ns2="http://v1_0.ws.user.example.com">
72 <return>
73 <some>thing</some>
74 </return>
75 </ns2:authenticateResponse>
76 </soap:Body>
77 </soap:Envelope>
78
79 you could set the response pattern to:
80
81 Savon.configure do |config|
82 config.response_pattern = [/.+_response/, :return]
83 end
84
85 then instead of calling:
86
87 response.to_hash[:authenticate_response][:return] # :some => "thing"
88
89 to get the actual content, Savon::SOAP::Response#to_hash will try to apply given the pattern:
90
91 response.to_hash # :some => "thing"
92
93 Please notice, that if you don't specify a response pattern or if the pattern doesn't match the
94 response, Savon will behave like it always did.
95
53934d9 @rubiii formatted changelog
rubiii authored
96 * Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
abc42be @rubiii updated changelog for v0.8.0.beta.2
rubiii authored
97
0b7d28b @rubiii it's official. 2010-10-29!
rubiii authored
98 ## 0.8.0.beta.1 (2010-10-29)
9b5d3d6 @rubiii appreciate yard
rubiii authored
99
53934d9 @rubiii formatted changelog
rubiii authored
100 * Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
058504d @rubiii updated CHANGELOG
rubiii authored
101 wsdl, http and wsse objects inside the block to configure your client for a particular service.
9b5d3d6 @rubiii appreciate yard
rubiii authored
102
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
103 # Instantiating a client to work with a WSDL document
058504d @rubiii updated CHANGELOG
rubiii authored
104 client = Savon::Client.new do
105 wsdl.document = "http://example.com?wsdl"
106 end
9b5d3d6 @rubiii appreciate yard
rubiii authored
107
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
108 # Directly accessing the SOAP endpoint
058504d @rubiii updated CHANGELOG
rubiii authored
109 client = Savon::Client.new do
110 wsdl.endpoint = "http://example.com"
111 wsdl.namespace = "http://v1.example.com"
112 end
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
113
53934d9 @rubiii formatted changelog
rubiii authored
114 * Fix for [issue #77](https://github.com/rubiii/savon/issues/77), which means you can now use
115 local WSDL documents:
058504d @rubiii updated CHANGELOG
rubiii authored
116
117 client = Savon::Client.new do
118 wsdl.document = "../wsdl/service.xml"
119 end
120
121 * Changed the way SOAP requests are being dispatched. Instead of using method_missing, you now use
53934d9 @rubiii formatted changelog
rubiii authored
122 the new `request` method, which also accepts a block for you to access the wsdl, http, wsse and
058504d @rubiii updated CHANGELOG
rubiii authored
123 soap object. Please notice, that a new soap object is created for every request. So you can only
124 access it inside this block.
125
126 # A simple request to an :authenticate method
127 client.request :authenticate do
128 soap.body = { :id => 1 }
129 end
130
53934d9 @rubiii formatted changelog
rubiii authored
131 * The new `Savon::Client#request` method fixes issues [#37](https://github.com/rubiii/savon/issues/37),
132 [#61](https://github.com/rubiii/savon/issues/61) and [#64](https://github.com/rubiii/savon/issues/64),
133 which report problems with namespacing the SOAP input tag and attaching attributes to it.
134 Some usage examples:
058504d @rubiii updated CHANGELOG
rubiii authored
135
136 client.request :get_user # Input tag: <getUser>
137 client.request :wsdl, "GetUser" # Input tag: <wsdl:GetUser>
138 client.request :get_user :active => true # Input tag: <getUser active="true">
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
139
53934d9 @rubiii formatted changelog
rubiii authored
140 * Savon's new `request` method respects the given namespace. If you don't give it a namespace,
5e07503 @rubiii showing more respect for the target namespace and fixed objects yield…
rubiii authored
141 Savon will set the target namespace to "xmlns:wsdl". But if you do specify a namespace, it will
142 be set to the given Symbol.
143
53934d9 @rubiii formatted changelog
rubiii authored
144 * Refactored Savon to use the new [HTTPI](http://rubygems.org/gems/httpi) gem.
145 `HTTPI::Request` replaces the `Savon::Request`, so please make sure to have a look
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
146 at the HTTPI library and let me know about any problems. Using HTTPI actually
147 fixes the following two issues.
148
5e9358c @rubiii properly serialize nil values
rubiii authored
149 * Savon now adds both "xmlns:xsd" and "xmlns:xsi" namespaces for you. Thanks Averell.
150 It also properly serializes nil values as xsi:nil = "true".
151
53934d9 @rubiii formatted changelog
rubiii authored
152 * Fix for [issue #24](https://github.com/rubiii/savon/issues/24).
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
153 Instead of Net/HTTP, Savon now uses HTTPI to execute HTTP requests.
154 HTTPI defaults to use HTTPClient which supports HTTP digest authentication.
155
53934d9 @rubiii formatted changelog
rubiii authored
156 * Fix for [issue #76](https://github.com/rubiii/savon/issues/76).
058504d @rubiii updated CHANGELOG
rubiii authored
157 You now have to explicitly specify whether to use a WSDL document, when instantiating a client.
158
53934d9 @rubiii formatted changelog
rubiii authored
159 * Fix for [issue #75](https://github.com/rubiii/savon/issues/75).
160 Both `Savon::SOAP::Fault` and `Savon::HTTP::Error` now contain the `HTTPI::Response`.
161 They also inherit from `Savon::Error`, making it easier to rescue both at the same time.
36d77cc @rubiii fix for issue #75. refactored SOAP fault and HTTP error classes.
rubiii authored
162
53934d9 @rubiii formatted changelog
rubiii authored
163 * Fix for [issue #87](https://github.com/rubiii/savon/issues/87).
0c3aa5e @rubiii fix for namespaced entries in SOAP response XML. closes #87.
rubiii authored
164 Thanks to Leonardo Borges.
165
53934d9 @rubiii formatted changelog
rubiii authored
166 * Fix for [issue #81](https://github.com/rubiii/savon/issues/81).
167 Replaced `Savon::WSDL::Document#to_s` with a `to_xml` method.
058504d @rubiii updated CHANGELOG
rubiii authored
168
53934d9 @rubiii formatted changelog
rubiii authored
169 * Fix for issues [#85](https://github.com/rubiii/savon/issues/85) and [#88](https://github.com/rubiii/savon/issues/88).
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
170
53934d9 @rubiii formatted changelog
rubiii authored
171 * Fix for [issue #80](https://github.com/rubiii/savon/issues/80).
635f305 @rubiii fix for issue #80
rubiii authored
172
53934d9 @rubiii formatted changelog
rubiii authored
173 * Fix for [issue #60](https://github.com/rubiii/savon/issues/60).
1c67b74 @rubiii fix for issue #60
rubiii authored
174
53934d9 @rubiii formatted changelog
rubiii authored
175 * Fix for [issue #96](https://github.com/rubiii/savon/issues/96).
280fb48 @rubiii added issue 96
rubiii authored
176
1b6b010 @rubiii added WSSE changes
rubiii authored
177 * Removed global WSSE credentials. Authentication needs to be set up for each client instance.
178
179 * Started to remove quite a few core extensions.
51bf62c @rubiii updated changelog for v0.8.0.beta.1
rubiii authored
180
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
181 ## 0.7.9 (2010-06-14)
9b5d3d6 @rubiii appreciate yard
rubiii authored
182
53934d9 @rubiii formatted changelog
rubiii authored
183 * Fix for [issue #53](https://github.com/rubiii/savon/issues/53).
9b5d3d6 @rubiii appreciate yard
rubiii authored
184
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
185 ## 0.7.8 (2010-05-09)
9b5d3d6 @rubiii appreciate yard
rubiii authored
186
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
187 * Fixed gemspec to include missing files in the gem.
9b5d3d6 @rubiii appreciate yard
rubiii authored
188
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
189 ## 0.7.7 (2010-05-09)
9b5d3d6 @rubiii appreciate yard
rubiii authored
190
191 * SOAP requests now start with a proper XML declaration.
192
193 * Added support for gzipped requests and responses (http://github.com/lucascs). While gzipped SOAP
194 responses are decoded automatically, you have to manually instruct Savon to gzip SOAP requests:
195
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
196 client = Savon::Client.new "http://example.com/UserService?wsdl", :gzip => true
9b5d3d6 @rubiii appreciate yard
rubiii authored
197
53934d9 @rubiii formatted changelog
rubiii authored
198 * Fix for [issue #51](https://github.com/rubiii/savon/issues/51). Added the :soap_endpoint option to
199 `Savon::Client.new` which lets you specify a SOAP endpoint per client instance:
9b5d3d6 @rubiii appreciate yard
rubiii authored
200
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
201 client = Savon::Client.new "http://example.com/UserService?wsdl",
202 :soap_endpoint => "http://localhost/UserService"
9b5d3d6 @rubiii appreciate yard
rubiii authored
203
53934d9 @rubiii formatted changelog
rubiii authored
204 * Fix for [issue #50](https://github.com/rubiii/savon/issues/50). Savon still escapes special characters
205 in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
206 it's value should not be escaped.
9b5d3d6 @rubiii appreciate yard
rubiii authored
207
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
208 ## 0.7.6 (2010-03-21)
9b5d3d6 @rubiii appreciate yard
rubiii authored
209
210 * Moved documentation from the Github Wiki to the actual class files and established a much nicer
211 documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
212
53934d9 @rubiii formatted changelog
rubiii authored
213 * Added `Savon::Client#call` as a workaround for dispatching calls to SOAP actions named after
214 existing methods. Fix for [issue #48](https://github.com/rubiii/savon/issues/48).
9b5d3d6 @rubiii appreciate yard
rubiii authored
215
53934d9 @rubiii formatted changelog
rubiii authored
216 * Add support for specifying attributes for duplicate tags (via Hash values as Arrays).
217 Fix for [issue #45](https://github.com/rubiii/savon/issues/45).
9b5d3d6 @rubiii appreciate yard
rubiii authored
218
53934d9 @rubiii formatted changelog
rubiii authored
219 * Fix for [issue #41](https://github.com/rubiii/savon/issues/41).
9b5d3d6 @rubiii appreciate yard
rubiii authored
220
53934d9 @rubiii formatted changelog
rubiii authored
221 * Fix for issues [#39](https://github.com/rubiii/savon/issues/39) and [#49](https://github.com/rubiii/savon/issues/49).
222 Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
9b5d3d6 @rubiii appreciate yard
rubiii authored
223
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
224 ## 0.7.5 (2010-02-19)
9b5d3d6 @rubiii appreciate yard
rubiii authored
225
53934d9 @rubiii formatted changelog
rubiii authored
226 * Fix for [issue #34](https://github.com/rubiii/savon/issues/34).
9b5d3d6 @rubiii appreciate yard
rubiii authored
227
53934d9 @rubiii formatted changelog
rubiii authored
228 * Fix for [issue #36](https://github.com/rubiii/savon/issues/36).
9b5d3d6 @rubiii appreciate yard
rubiii authored
229
53934d9 @rubiii formatted changelog
rubiii authored
230 * Added feature requested in [issue #35](https://github.com/rubiii/savon/issues/35).
9b5d3d6 @rubiii appreciate yard
rubiii authored
231
232 * Changed the key for specifying the order of tags from :@inorder to :order!
233
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
234 ## 0.7.4 (2010-02-02)
9b5d3d6 @rubiii appreciate yard
rubiii authored
235
53934d9 @rubiii formatted changelog
rubiii authored
236 * Fix for [issue #33](https://github.com/rubiii/savon/issues/33).
9b5d3d6 @rubiii appreciate yard
rubiii authored
237
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
238 ## 0.7.3 (2010-01-31)
9b5d3d6 @rubiii appreciate yard
rubiii authored
239
240 * Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
241
242 * Make HTTP requests include path and query only. This was breaking requests via proxy as scheme and host
243 were repeated (Adrian Mugnolo <adrian@mugnolo.com>)
244
245 * Avoid warning on 1.8.7 and 1.9.1 (Adrian Mugnolo <adrian@mugnolo.com>).
246
53934d9 @rubiii formatted changelog
rubiii authored
247 * Fix for [issue #29](https://github.com/rubiii/savon/issues/29).
248 Default to UTC to xs:dateTime value for WSSE authentication.
9b5d3d6 @rubiii appreciate yard
rubiii authored
249
53934d9 @rubiii formatted changelog
rubiii authored
250 * Fix for [issue #28](https://github.com/rubiii/savon/issues/28).
9b5d3d6 @rubiii appreciate yard
rubiii authored
251
53934d9 @rubiii formatted changelog
rubiii authored
252 * Fix for [issue #27](https://github.com/rubiii/savon/issues/27). The Content-Type now defaults to UTF-8.
9b5d3d6 @rubiii appreciate yard
rubiii authored
253
254 * Modification to allow assignment of an Array with an input name and an optional Hash of values to soap.input.
53934d9 @rubiii formatted changelog
rubiii authored
255 Patches [issue #30](https://github.com/rubiii/savon/issues/30) (stanleydrew <andrewmbenton@gmail.com>).
9b5d3d6 @rubiii appreciate yard
rubiii authored
256
53934d9 @rubiii formatted changelog
rubiii authored
257 * Fix for [issue #25](https://github.com/rubiii/savon/issues/25).
9b5d3d6 @rubiii appreciate yard
rubiii authored
258
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
259 ## 0.7.2 (2010-01-17)
9b5d3d6 @rubiii appreciate yard
rubiii authored
260
53934d9 @rubiii formatted changelog
rubiii authored
261 * Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
262 on your `Savon::Response` to access the `Net::HTTP` response object.
9b5d3d6 @rubiii appreciate yard
rubiii authored
263
53934d9 @rubiii formatted changelog
rubiii authored
264 * Fix for [issue #21](https://github.com/rubiii/savon/issues/21).
9b5d3d6 @rubiii appreciate yard
rubiii authored
265
53934d9 @rubiii formatted changelog
rubiii authored
266 * Fix for [issue #22](https://github.com/rubiii/savon/issues/22).
9b5d3d6 @rubiii appreciate yard
rubiii authored
267
53934d9 @rubiii formatted changelog
rubiii authored
268 * Fix for [issue #19](https://github.com/rubiii/savon/issues/19).
9b5d3d6 @rubiii appreciate yard
rubiii authored
269
53934d9 @rubiii formatted changelog
rubiii authored
270 * Added support for global header and namespaces. See [issue #9](https://github.com/rubiii/savon/issues/9).
9b5d3d6 @rubiii appreciate yard
rubiii authored
271
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
272 ## 0.7.1 (2010-01-10)
9b5d3d6 @rubiii appreciate yard
rubiii authored
273
53934d9 @rubiii formatted changelog
rubiii authored
274 * The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
275 Patch for [issue #8](https://github.com/rubiii/savon/issues/8).
9b5d3d6 @rubiii appreciate yard
rubiii authored
276
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
277 ## 0.7.0 (2010-01-09)
9b5d3d6 @rubiii appreciate yard
rubiii authored
278
279 This version comes with several changes to the public API!
280 Pay attention to the following list and read the updated Wiki: http://wiki.github.com/rubiii/savon
281
53934d9 @rubiii formatted changelog
rubiii authored
282 * Changed how `Savon::WSDL` can be disabled. Instead of disabling the WSDL globally/per request via two
283 different methods, you now simply append an exclamation mark (!) to your SOAP call: `client.get_all_users!`
9b5d3d6 @rubiii appreciate yard
rubiii authored
284 Make sure you know what you're doing because when the WSDL is disabled, Savon does not know about which
285 SOAP actions are valid and just dispatches everything.
286
53934d9 @rubiii formatted changelog
rubiii authored
287 * The `Net::HTTP` object used by `Savon::Request` to retrieve WSDL documents and execute SOAP calls is now public.
9b5d3d6 @rubiii appreciate yard
rubiii authored
288 While this makes the library even more flexible, it also comes with two major changes:
289
53934d9 @rubiii formatted changelog
rubiii authored
290 * SSL client authentication needs to be defined directly on the `Net::HTTP` object:
9b5d3d6 @rubiii appreciate yard
rubiii authored
291
292 client.request.http.client_cert = ...
293
294 I added a shortcut method for setting all options through a Hash similar to the previous implementation:
295
296 client.request.http.ssl_client_auth :client_cert => ...
297
53934d9 @rubiii formatted changelog
rubiii authored
298 * Open and read timeouts also need to be set on the `Net::HTTP` object:
9b5d3d6 @rubiii appreciate yard
rubiii authored
299
300 client.request.http.open_timeout = 30
301 client.request.http.read_timeout = 30
302
53934d9 @rubiii formatted changelog
rubiii authored
303 * Please refer to the `Net::HTTP` documentation for more details:
9b5d3d6 @rubiii appreciate yard
rubiii authored
304 http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
305
306 * Thanks to JulianMorrison, Savon now supports HTTP basic authentication:
307
308 client.request.http.basic_auth "username", "password"
309
310 * Julian also added a way to explicitly specify the order of Hash keys and values, so you should now be able
311 to work with services requiring a specific order of input parameters while still using Hash input.
312
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
313 client.find_user { |soap| soap.body = { :name => "Lucy", :id => 666, :@inorder => [:id, :name] } }
9b5d3d6 @rubiii appreciate yard
rubiii authored
314
53934d9 @rubiii formatted changelog
rubiii authored
315 * `Savon::Response#to_hash` now returns the content inside of "soap:Body" instead of trying to go one
9b5d3d6 @rubiii appreciate yard
rubiii authored
316 level deeper and return it's content. The previous implementation only worked when the "soap:Body" element
53934d9 @rubiii formatted changelog
rubiii authored
317 contained a single child. See [issue #17](https://github.com/rubiii/savon/issues/17).
9b5d3d6 @rubiii appreciate yard
rubiii authored
318
53934d9 @rubiii formatted changelog
rubiii authored
319 * Added `Savon::SOAP#namespace` as a shortcut for setting the "xmlns:wsdl" namespace.
9b5d3d6 @rubiii appreciate yard
rubiii authored
320
321 soap.namespace = "http://example.com"
322
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
323 ## 0.6.8 (2010-01-01)
9b5d3d6 @rubiii appreciate yard
rubiii authored
324
325 * Improved specifications for various kinds of WSDL documents.
326
327 * Added support for SOAP endpoints which are different than the WSDL endpoint of a service.
328
329 * Changed how SOAP actions and inputs are retrieved from the WSDL documents. This might break a few existing
330 implementations, but makes Savon work well with even more services. If this change breaks your implementation,
53934d9 @rubiii formatted changelog
rubiii authored
331 please take a look at the `action` and `input` methods of the `Savon::SOAP` object.
9b5d3d6 @rubiii appreciate yard
rubiii authored
332 One specific problem I know of is working with the createsend WSDL and its namespaced actions.
333
334 To make it work, call the SOAP action without namespace and specify the input manually:
335
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
336 client.get_api_key { |soap| soap.input = "User.GetApiKey" }
9b5d3d6 @rubiii appreciate yard
rubiii authored
337
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
338 ## 0.6.7 (2009-12-18)
9b5d3d6 @rubiii appreciate yard
rubiii authored
339
340 * Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
53934d9 @rubiii formatted changelog
rubiii authored
341 to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
9b5d3d6 @rubiii appreciate yard
rubiii authored
342
343 * Implemented support for SSL client authentication. Settings can be set through an optional Hash of arguments
53934d9 @rubiii formatted changelog
rubiii authored
344 passed to instantiating `Savon::Client` (colonhyphenp)
9b5d3d6 @rubiii appreciate yard
rubiii authored
345
53934d9 @rubiii formatted changelog
rubiii authored
346 * Patch for [issue #10](https://github.com/rubiii/savon/issues/10).
9b5d3d6 @rubiii appreciate yard
rubiii authored
347
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
348 ## 0.6.6 (2009-12-14)
9b5d3d6 @rubiii appreciate yard
rubiii authored
349
350 * Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
351 and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
352 your SOAP actions are named any different.
353
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
354 ## 0.6.5 (2009-12-13)
9b5d3d6 @rubiii appreciate yard
rubiii authored
355
53934d9 @rubiii formatted changelog
rubiii authored
356 * Added an `open_timeout` method to `Savon::Request`.
9b5d3d6 @rubiii appreciate yard
rubiii authored
357
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
358 ## 0.6.4 (2009-12-13)
9b5d3d6 @rubiii appreciate yard
rubiii authored
359
360 * Refactored specs to be less unit-like.
361
53934d9 @rubiii formatted changelog
rubiii authored
362 * Added a getter for the `Savon::Request` to `Savon::Client` and a `read_timeout` setter for HTTP requests.
9b5d3d6 @rubiii appreciate yard
rubiii authored
363
53934d9 @rubiii formatted changelog
rubiii authored
364 * `wsdl.soap_actions` now returns an Array of SOAP actions. For the previous "mapping" please use `wsdl.operations`.
9b5d3d6 @rubiii appreciate yard
rubiii authored
365
366 * Replaced WSDL document with stream parsing.
367
368 Benchmarks (1000 SOAP calls):
369
370 user system total real
371 0.6.4 72.180000 8.280000 80.460000 (750.799011)
372 0.6.3 192.900000 19.630000 212.530000 (914.031865)
373
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
374 ## 0.6.3 (2009-12-11)
9b5d3d6 @rubiii appreciate yard
rubiii authored
375
376 * Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
377
53934d9 @rubiii formatted changelog
rubiii authored
378 * Added global and per request options for disabling `Savon::WSDL`.
9b5d3d6 @rubiii appreciate yard
rubiii authored
379
380 Benchmarks (1000 SOAP calls):
381
382 user system total real
383 WSDL 192.900000 19.630000 212.530000 (914.031865)
384 disabled WSDL 5.680000 1.340000 7.020000 (298.265318)
385
386 * Improved XPath expressions for parsing the WSDL document.
387
388 Benchmarks (1000 SOAP calls):
389
390 user system total real
391 0.6.3 192.900000 19.630000 212.530000 (914.031865)
392 0.6.2 574.720000 78.380000 653.100000 (1387.778539)
393
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
394 ## 0.6.2 (2009-12-06)
9b5d3d6 @rubiii appreciate yard
rubiii authored
395
396 * Added support for changing the name of the SOAP input node.
397
398 * Added a CHANGELOG.
399
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
400 ## 0.6.1 (2009-12-06)
9b5d3d6 @rubiii appreciate yard
rubiii authored
401
402 * Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
403
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
404 ## 0.6.0 (2009-12-06)
9b5d3d6 @rubiii appreciate yard
rubiii authored
405
53934d9 @rubiii formatted changelog
rubiii authored
406 * `method_missing` now yields the SOAP and WSSE objects to a given block.
9b5d3d6 @rubiii appreciate yard
rubiii authored
407
53934d9 @rubiii formatted changelog
rubiii authored
408 * The response_process (which previously was a block passed to method_missing) was replaced by `Savon::Response`.
9b5d3d6 @rubiii appreciate yard
rubiii authored
409
410 * Improved SOAP action handling (another problem that came up with issue #1).
411
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
412 ## 0.5.3 (2009-11-30)
9b5d3d6 @rubiii appreciate yard
rubiii authored
413
53934d9 @rubiii formatted changelog
rubiii authored
414 * Patch for [issue #2](https://github.com/rubiii/savon/issues/2).
9b5d3d6 @rubiii appreciate yard
rubiii authored
415
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
416 ## 0.5.2 (2009-11-30)
9b5d3d6 @rubiii appreciate yard
rubiii authored
417
53934d9 @rubiii formatted changelog
rubiii authored
418 * Patch for [issue #1](https://github.com/rubiii/savon/issues/1).
9b5d3d6 @rubiii appreciate yard
rubiii authored
419
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
420 ## 0.5.1 (2009-11-29)
9b5d3d6 @rubiii appreciate yard
rubiii authored
421
422 * Optimized default response process.
423
424 * Added WSSE settings via defaults.
425
426 * Added SOAP fault and HTTP error handling.
427
428 * Improved documentation
429
430 * Added specs
431
e187549 @rubiii replaced HTTP request-specific code with using the HTTPI gem.
rubiii authored
432 ## 0.5.0 (2009-11-29)
9b5d3d6 @rubiii appreciate yard
rubiii authored
433
434 * Complete rewrite and public release.
Something went wrong with that request. Please try again.