lib/wash_out/soap.rb in wash_out-0.9.0 vs lib/wash_out/soap.rb in wash_out-0.9.2
- old
+ new
@@ -24,23 +24,24 @@
end
end
default_response_tag = soap_config.camelize_wsdl ? 'Response' : '_response'
- default_response_tag = "tns:#{action}#{default_response_tag}"
+ default_response_tag = action+default_response_tag
- self.soap_actions[action] = {
+ self.soap_actions[action] = options.merge(
:in => WashOut::Param.parse_def(soap_config, options[:args]),
:out => WashOut::Param.parse_def(soap_config, options[:return]),
:to => options[:to] || action,
:response_tag => options[:response_tag] || default_response_tag
- }
+ )
end
end
included do
include WashOut::Configurable
include WashOut::Dispatcher
+ include WashOut::WsseParams
self.soap_actions = {}
end
end
end