C
Chris Gunnels
I have been searching and trying different gems to get this to work, but
can't. I need to consume a soap service that's protected with Basic
Authentication. I have tried the following:
wsdl = "https://soapservice.com"
client = SOAP::WSDLDriverFactory.new(wsdl)
soap = client.create_rpc_driver
soap.options['protocol.http.basic_auth'] << [wsdl, 'my_user_name',
'my_pass']
with this i get "basic_auth is not supported under soap4r + net/http."
So I tried Savon gem but its dependencies are severely out dated.
Anybody have any ideas?
can't. I need to consume a soap service that's protected with Basic
Authentication. I have tried the following:
wsdl = "https://soapservice.com"
client = SOAP::WSDLDriverFactory.new(wsdl)
soap = client.create_rpc_driver
soap.options['protocol.http.basic_auth'] << [wsdl, 'my_user_name',
'my_pass']
with this i get "basic_auth is not supported under soap4r + net/http."
So I tried Savon gem but its dependencies are severely out dated.
Anybody have any ideas?