You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to call "operations" on a WSDL client I am getting a TypeError:
auth_client = Savon.client(ssl_verify_mode: :none, wsdl: 'https://path/to/Service?wsdl')
auth_client.operations
D, [2013-03-31T21:14:02.335141 #5965] DEBUG -- : HTTPI GET request to [REDACTED] (net_http)
TypeError: can't convert nil into Hash
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:131:in `merge!'
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:131:in `block (2 levels) in process_type'
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:138:in `call'
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:138:in `each'
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:138:in `parse_deferred_types'
from gems/wasabi-3.0.0/lib/wasabi/parser.rb:51:in `parse'
from gems/wasabi-3.0.0/lib/wasabi/document.rb:132:in `parse'
from gems/wasabi-3.0.0/lib/wasabi/document.rb:118:in `parser'
from gems/wasabi-3.0.0/lib/wasabi/document.rb:61:in `soap_actions'
from gems/savon-2.1.0/lib/savon/client.rb:30:in `operations'
from (irb):16
Looking in the source it looks like @types[base] in this case was nil. Adding an || {} to the end of the merge argument fixed it.
thanks. you're right. wasabi has a problem with undefined xml element extensions.
the element is probably defined inside the imported schema, but wasabi doesn't support that. #340.
When attempting to call "operations" on a WSDL client I am getting a TypeError:
Looking in the source it looks like @types[base] in this case was nil. Adding an || {} to the end of the merge argument fixed it.
The text was updated successfully, but these errors were encountered: