Wsdl basic http authentication

Hai ,
      How to do the basic http Authenication in wsdl . Herewith I
have mentioned my code

require 'rubygems'
gem 'soap4r'
require 'DCMSServicesServiceDefinitionsDriver.rb'

obj = DCMSServices.new(endpoint_url)
obj.options["protocol.http.basic_auth"] << [ wsdl_url ,username
,password ].

But the problem is that , http.basic_auth is not working .

···

--
Posted via http://www.ruby-forum.com/.