-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
response does not respect :convert_response_tags_to and :strip_namespaces options #474
Comments
just noticed, that both methods also don't respect the global |
both methods now respect the global :convert_response_tags_to and :strip_namespaces options and return the expected result instead of raising a Savon::InvalidResponseError.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is now closed due to inactivity. If you believe this needs further action, please re-open to discuss. |
Hello, @client = Savon.client( message = { response = @client.call(:example, response.to_hash[:example_response][:example_result] Output I, [2018-03-10T12:23:49.932977 #5277] INFO -- : SOAP response (status 200) D, [2018-03-10T12:23:49.933051 #5277] DEBUG -- : |
Savon::Response#header
andSavon::Response#body
currently don't respect the global:convert_response_tags_to
option and raise aSavon::InvalidResponseError
if the optionis set to return anything other than a snake_case symbol.
lib/savon/response.rb#L33
i'm going to change all cases of hardcoded snakecase symbols (e.g.
:envelope:
and:header
)to use
Nori#find
which respects the:convert_response_tags_to
option.The text was updated successfully, but these errors were encountered: