Trouble With SSL

183 views
Skip to first unread message

James Edward Gray II

unread,
Feb 27, 2007, 5:40:42 PM2/27/07
to soap4r
I'm still trying to to wrap the E-xact payment gateway with some
soap4r code. I'm successfully sending transactions now, but have run
into a new issue.

I want to give users of my code a way to provide a certificates file
or silence the warning (by passing nil). However, when I use
wsdl2ruby (from the developer's version) to build a service for this
WSDL file:

https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx?wsdl

Then run the following code:

exact = ServiceSoap.new
exact.options["protocol.http.ssl_config.ca_file"] = nil

I get an exception:

NotImplementedError: SSL not supported

Any idea what I'm doing wrong here?

Thanks.

James Edward Gray II

James Edward Gray II

unread,
Feb 28, 2007, 4:38:23 PM2/28/07
to soap4r
On Feb 27, 4:40 pm, "James Edward Gray II" <j...@grayproductions.net>
wrote:

> I'm still trying to to wrap the E-xact payment gateway with some
> soap4r code. I'm successfully sending transactions now, but have run
> into a new issue.
>
> I want to give users of my code a way to provide a certificates file
> or silence the warning (by passing nil). However, when I use
> wsdl2ruby (from the developer's version) to build a service for this
> WSDL file:
>
> https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx?...

>
> Then run the following code:
>
> exact = ServiceSoap.new
> exact.options["protocol.http.ssl_config.ca_file"] = nil
>
> I get an exception:
>
> NotImplementedError: SSL not supported
>
> Any idea what I'm doing wrong here?

No help on this one? Is this a bug in the development version of
SOAP?

James Edward Gray II

Emil Marceta

unread,
Mar 1, 2007, 12:01:43 AM3/1/07
to soa...@googlegroups.com

You probably missing the http-access2 client that has SSL support.
Grab it and install it from http://dev.ctor.org/http-access2 (v 2.0.6
should be fine).

Also verify you run the latest fix release of soap4r
http://dev.ctor.org/download/ soap4r-20061022.tar.gz


emil

James Edward Gray II

unread,
Mar 1, 2007, 4:59:53 PM3/1/07
to soap4r
On Feb 28, 11:01 pm, "Emil Marceta" <emarc...@gmail.com> wrote:

> On 2/28/07, James Edward Gray II <j...@grayproductions.net> wrote:
> > On Feb 27, 4:40 pm, "James Edward Gray II" <j...@grayproductions.net>
> > wrote:
> > > I'm still trying to to wrap the E-xact payment gateway with some
> > > soap4r code. I'm successfully sending transactions now, but have run
> > > into a new issue.
>
> > > I want to give users of my code a way to provide a certificates file
> > > or silence the warning (by passing nil). However, when I use
> > > wsdl2ruby (from the developer's version) to build a service for this
> > > WSDL file:
>
> > >https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx?...
>
> > > Then run the following code:
>
> > > exact = ServiceSoap.new
> > > exact.options["protocol.http.ssl_config.ca_file"] = nil
>
> > > I get an exception:
>
> > > NotImplementedError: SSL not supported
>
> > > Any idea what I'm doing wrong here?
>
> > No help on this one? Is this a bug in the development version of
> > SOAP?
>
> You probably missing the http-access2 client that has SSL support.
> Grab it and install it fromhttp://dev.ctor.org/http-access2(v 2.0.6
> should be fine).

This was my issue. Yes. Thanks much.

James Edward Gray II

Reply all
Reply to author
Forward
0 new messages