0

I am generating the stubs in runtime with driver=SOAP::RPC::Driver.new wsdl_path. How should I initialize/configure the driver in order to use http basic authentication? I have tried driver.options["protocol.http.basic_auth"] = [endpoint_url,'username','password']], though, it fails...

Does anyone know how to do this?

Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94

1 Answers1

0

I should have tried to use the driver.options['protocol.http.basic_auth]#<< method instead of #=. it works with #<<

Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94