savonrb / savon

Heavy metal SOAP client
https://www.savonrb.com
MIT License
2.07k stars 616 forks source link

Getting NoMethodError Exception: undefined method `to_sym' when calling API client and using wasabi 3.6.1, savon 2.11.1 #1003

Closed Leo137 closed 3 months ago

Leo137 commented 7 months ago

Bug report

Current behavior:

Upon sending an client call to a method that needs arguments, i get the following error: *** NoMethodError Exception: undefined method `to_sym' for {"getToken"=>{"pszXml"=>["xsd", "string"]}}:Hash

However, if i go back to wasabi 3.5.0, client call works normally.

Steps to reproduce current behavior:

Expected behavior:

Client call should not throw undefined method `to_sym' exception.

System information:

pcai commented 7 months ago

Hi - can you provide a stacktrace? Does this issue reproduce in the latest versions of savon and wasabi?

The diff for 3.5 to 3.6.1 is not that big (its mostly test files that changed) so any additional detail you can provide will be helpful: https://github.com/savonrb/wasabi/compare/v3.5.0...v3.6.1

pcai commented 3 months ago

please reopen when you have more information