# File lib/action_web_service/client/soap_client.rb, line 44 def initialize(api, endpoint_uri, options={}) super(api, endpoint_uri) @namespace = options[:namespace] || 'urn:ActionWebService' @driver_options = options[:driver_options] || {} @protocol = ActionWebService::Protocol::Soap::SoapProtocol.new @namespace @soap_action_base = options[:soap_action_base] @soap_action_base ||= URI.parse(endpoint_uri).path @driver = create_soap_rpc_driver(api, endpoint_uri) @driver_options.each do |name, value| @driver.options[name.to_s] = value end end