Savon v2.2.0 Release Notes
Release Date: 2013-04-21 // about 11 years ago-
๐ Feature: #416 The global
namespace_identifier
option can now be set tonil
to not add a namespace identifier to the message tag.๐ Feature: #408 Added
Savon::Client#service_name
to return the name of the SOAP service.๐ Improvement: When mistyping an option name, Savon used to raise a simple
NoMethodError
. This is because regardless of whether you're using the Hash or block syntax to pass global or local options, both are just method calls on some options object.NoMethodError: undefined method 'wsdk' for #<Savon::GlobalOptions:0x007fed95a55228>
As of this change, Savon now catches those errors and raise a
Savon::UnknownOptionError
with a slightly more helpful error message instead.``` ruby Savon::UnknownOptionError: Unknown global option: :wsdk ```
๐ Improvement: #385 Instead of raising an
ArgumentError
when Wasabi can't find any operations in the WSDL. Savon now raises aSavon::UnknownOperationError
. This might happen when Wasabi fails to parse the WSDL because of imports for example.๐ Fix: #430 allows you to rescue and ignore
Savon::Error
errors in production while still having mocks trigger test failures.๐ Fix: #393 changed
Savon::SOAPFault
to work with generic response Hash keys.๐ Fix: #423 fixes a problem where Wasabi was not able to find extension base elements defined in imports it didn't follow.