# File lib/action_web_service/client/soap_client.rb, line 58 def perform_invocation(method_name, args) method = @api.api_methods[method_name.to_sym] args = method.cast_expects(args.dup) rescue args return_value = @driver.send(method_name, *args) method.cast_returns(return_value.dup) rescue return_value end