Skip to content
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

ArgumentError #385

Closed
azuby opened this issue Feb 2, 2013 · 2 comments
Closed

ArgumentError #385

azuby opened this issue Feb 2, 2013 · 2 comments
Milestone

Comments

@azuby
Copy link

azuby commented Feb 2, 2013

I'm getting the following error:

ArgumentError: Unable to find SOAP operation
Operations provided by your service: []
    from /home/vagrant/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/savon-2.0.3/lib/savon/operation.rb:20:in `ensure_exists!'
    from /home/vagrant/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/savon-2.0.3/lib/savon/operation.rb:12:in `create'
    from /home/vagrant/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/savon-2.0.3/lib/savon/client.rb:32:in `operation'
    from /home/vagrant/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/savon-2.0.3/lib/savon/client.rb:36:in `call'

It would be nice if this was caught and raised as a Savon::Error to make it easier to catch. The error is a bug in the API I'm calling, but I wouldn't have thought to try and catch the error.

rubiii added a commit that referenced this issue Feb 3, 2013
@rubiii
Copy link
Contributor

rubiii commented Feb 3, 2013

pushed a fix for this to master. if savon fails to parse your wsdl, please consider
"donating your wsdl" for testing the new parser to ensure this will be fixed.

@azuby
Copy link
Author

azuby commented Feb 11, 2013

Unfortunately, the wsdl has been fixed, but if I come accross another I will donate it. Thanks for the quick fix.

@azuby azuby closed this as completed Feb 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants