ads_common/lib/ads_common/savon_service.rb
def execute_action(action_name, args, &block)
      registry = get_service_registry()
      validator = ParametersValidator.new(registry)
      args = validator.validate_args(action_name, args)
      request_info, response = handle_soap_request(
          action_name.to_sym, false, args, validator.extra_namespaces)
      do_logging(action_name, request_info, response)
      handle_errors(response)
      extractor = ResultsExtractor.new(registry)
      result = extractor.extract_result(response, action_name, &block)
      run_user_block(extractor, response, result, &block) if block_given?
      return result
    end
def execute_action(action_name, args, &block)
      registry = get_service_registry()
      validator = ParametersValidator.new(registry)
      args = validator.validate_args(action_name, args)
      request_info, response = handle_soap_request(
          action_name.to_sym, false, args, validator.extra_namespaces)
      do_logging(action_name, request_info, response)
      handle_errors(response)
      extractor = ResultsExtractor.new(registry)
      result = extractor.extract_result(response, action_name, &block)
      run_user_block(extractor, response, result, &block) if block_given?
      return result
    end
Executes SOAP action specified as a string with given arguments.