From: rekabutt <rekab...@gmail.com>
Date: Thu, 1 May 2008 06:52:43 -0700 (PDT)
Local: Thurs, May 1 2008 9:52 am
Subject: Re: soap4r and basic_auth over ssl
I was having similar problems recently and got it resolved. I ended
up using the wsdl2ruby to create a driver. Then in the client file adding the ssl and basic auth support. obj = ServicesPortType.new(wsdl_url)
I'm aware of the security loss in this case by turning off the ssl
I'm not sure what you are trying to connect to, but I ran into an
Good luck.
On Apr 20, 12:04 pm, "oleg.khaba...@gmail.com"
<oleg.khaba...@gmail.com> wrote:
> Yes, I needed to append my message. I tried the soap/property file > route as well. It does apply user/pass from what s.options.to_yaml > tells me. However it still doesn't send them over. > This is what i have in my soap/property:
> client.protocol.http.ssl_config.ciphers = DEFAULT
> Had to pass the ciphers option as well because WSDLDriverFactory.new
> On Apr 20, 10:36 am, Artem <Artem.Tambovs...@gmail.com> wrote:
> > Hi Oleg,
> > If I remember there was a discussion in this group abous this matter
> > client.protocol.http.basic_auth.1.url =https://your.soap.app/url
> > Regards,
> > On Apr 19, 12:41 am, "oleg.khaba...@gmail.com"
> > <oleg.khaba...@gmail.com> wrote:
> > > I'm having some problems with getting basic_auth working. Here's some
> > > Ruby 1.8.6
> > > This is the application flow:
> > > >> s = SOAP::WSDLDriverFactory.new("https://somesite.com/Service?wsdl").create_rpc_driver
> > > => #<SOAP::RPC::Driver:#<SOAP::RPC::Proxy:https://somesite.com/
> > > => ["https://somesite.com/Service?wsdl", "user", "pass"]
> > > >> s.wiredump_dev = STDOUT
> > > And this is the result. Notice that authentication stuff doesn't get
> > > Wire dump:
> > > = Request
> > > ! CONNECT TO somesite.com:443
> > > <?xml version="1.0" encoding="utf-8" ?>
> > > = Response
> > > HTTP/1.1 500 Internal Server Error
> > > 1a5
> > > ! CONNECTION CLOSED
> > > SOAP::FaultError: bad credentials
> > > Help please? You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||