keeguon-actionwebservice 3.0.17.2 → 3.0.17.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -63,18 +63,18 @@ module ActionWebService # :nodoc:
|
|
63
63
|
end
|
64
64
|
log_request(ws_request, request.raw_post)
|
65
65
|
if exception
|
66
|
-
Rails.logger.
|
66
|
+
Rails.logger.debug(exception) unless Rails.logger.nil?
|
67
67
|
send_web_service_error_response(ws_request, exception)
|
68
68
|
else
|
69
69
|
send_web_service_response(ws_response, bm.real)
|
70
70
|
end
|
71
71
|
else
|
72
72
|
exception ||= DispatcherError.new("Malformed SOAP or XML-RPC protocol message")
|
73
|
-
Rails.logger.
|
73
|
+
Rails.logger.debug(exception) unless Rails.logger.nil?
|
74
74
|
send_web_service_error_response(ws_request, exception)
|
75
75
|
end
|
76
76
|
rescue Exception => e
|
77
|
-
Rails.logger.
|
77
|
+
Rails.logger.debug(e) unless Rails.logger.nil?
|
78
78
|
send_web_service_error_response(ws_request, e)
|
79
79
|
end
|
80
80
|
|
@@ -155,7 +155,7 @@ module ActionWebService # :nodoc:
|
|
155
155
|
options = { :type => 'text/xml', :disposition => 'inline' }
|
156
156
|
send_data(to_wsdl, options)
|
157
157
|
rescue Exception => e
|
158
|
-
Rails.logger.
|
158
|
+
Rails.logger.debug(e) unless Rails.logger.nil?
|
159
159
|
end
|
160
160
|
elsif request.post?
|
161
161
|
render :status => 500, :text => 'POST not supported'
|