Changelog History
Page 6
-
v0.7.9 Changes
June 14, 2010- 🛠 Fix for issue #53.
-
v0.7.8 Changes
May 09, 2010- 🛠 Fixed gemspec to include missing files in the gem.
-
v0.7.7 Changes
May 09, 2010SOAP requests now start with a proper XML declaration.
➕ Added support for gzipped requests and responses (http://github.com/lucascs). While gzipped SOAP responses are decoded automatically, you have to manually instruct Savon to gzip SOAP requests:
client = Savon::Client.new "http://example.com/UserService?wsdl", :gzip => true
🛠 Fix for issue #51. Added the :soap_endpoint option to
Savon::Client.new
which lets you specify a SOAP endpoint per client instance:client = Savon::Client.new "http://example.com/UserService?wsdl", :soap_endpoint => "http://localhost/UserService"
🛠 Fix for issue #50. Savon still escapes special characters in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that it's value should not be escaped.
-
v0.7.6 Changes
March 21, 2010📚 Moved documentation from the Github Wiki to the actual class files and established a much nicer documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
➕ Added
Savon::Client#call
as a workaround for dispatching calls to SOAP actions named after existing methods. Fix for issue #48.➕ Add support for specifying attributes for duplicate tags (via Hash values as Arrays). Fix for issue #45.
🛠 Fix for issue #41.
🛠 Fix for issues #39 and #49. Added
Savon::SOAP#xml
which let's you specify completely custom SOAP request XML.
-
v0.7.5 Changes
February 19, 2010 -
v0.7.4 Changes
February 02, 2010- 🛠 Fix for issue #33.
-
v0.7.3 Changes
January 31, 2010➕ Added support for Geotrust-style WSDL documents (Julian Kornberger [email protected]).
👉 Make HTTP requests include path and query only. This was breaking requests via proxy as scheme and host were repeated (Adrian Mugnolo [email protected])
⚠ Avoid warning on 1.8.7 and 1.9.1 (Adrian Mugnolo [email protected]).
🛠 Fix for issue #29. Default to UTC to xs:dateTime value for WSSE authentication.
🛠 Fix for issue #28.
🛠 Fix for issue #27. The Content-Type now defaults to UTF-8.
Modification to allow assignment of an Array with an input name and an optional Hash of values to soap.input. Patches issue #30 (stanleydrew [email protected]).
🛠 Fix for issue #25.
-
v0.7.2 Changes
January 17, 2010 -
v0.7.1 Changes
January 10, 2010- The Hash of HTTP headers for SOAP calls is now public via
Savon::Request#headers
. Patch for issue #8.
- The Hash of HTTP headers for SOAP calls is now public via
-
v0.7.0 Changes
January 09, 2010This version comes with several changes to the public API! ⚡️ Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
🔄 Changed how
Savon::WSDL
can be disabled. Instead of disabling the WSDL globally/per request via two different methods, you now simply append an exclamation mark (!) to your SOAP call:client.get_all_users!
Make sure you know what you're doing because when the WSDL is disabled, Savon does not know about which SOAP actions are valid and just dispatches everything.The
Net::HTTP
object used bySavon::Request
to retrieve WSDL documents and execute SOAP calls is now public. While this makes the library even more flexible, it also comes with two major changes:- SSL client authentication needs to be defined directly on the
Net::HTTP
object:
client.request.http.client_cert = ...
I added a shortcut method for setting all options through a Hash similar to the previous implementation:
client.request.http.ssl_client_auth :client_cert => ...
- Open and read timeouts also need to be set on the
Net::HTTP
object:
client.request.http.open_timeout = 30 client.request.http.read_timeout = 30
- Please refer to the
Net::HTTP
documentation for more details: http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html
- SSL client authentication needs to be defined directly on the
👍 Thanks to JulianMorrison, Savon now supports HTTP basic authentication:
client.request.http.basic_auth "username", "password"
Julian also added a way to explicitly specify the order of Hash keys and values, so you should now be able to work with services requiring a specific order of input parameters while still using Hash input.
client.find_user { |soap| soap.body = { :name => "Lucy", :id => 666, :@inorder => [:id, :name] } }
Savon::Response#to_hash
now returns the content inside of "soap:Body" instead of trying to go one level deeper and return it's content. The previous implementation only worked when the "soap:Body" element contained a single child. See issue #17.➕ Added
Savon::SOAP#namespace
as a shortcut for setting the "xmlns:wsdl" namespace.soap.namespace = "http://example.com"