lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.2.1 vs lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.2.2

- old
+ new

@@ -98,9 +98,10 @@ def make_request(request_parameters) test_values = request_body_params request_parameters # Call the SOAP operation with the request XML provided begin if @request_option == :template + test_values = IndifferentHash.new(test_values) # Allow test_values to be either Symbol or String client.call(operation, xml: Soaspec::TemplateReader.new.render_body(template_name, binding)) elsif @request_option == :hash client.call(operation, message: @default_hash.merge(test_values), attributes: request_root_attributes) end rescue Savon::HTTPError => soap_error \ No newline at end of file