SOAP WSDLDriverFactory - where?

Hi all,

I've seen various examples of using Ruby to generate a SOAP client, and
basically they all have the form

require 'soap/wsdlDriver'
wsdl = 'http://path-to-wsdl'
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver

I tried doing this on my machine, but Ruby says

<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load --
soap/wsdlDriver (LoadError)
        from <internal:lib/rubygems/custom_require>:29:in `require'

I tried to ri SOAP, and ri SOAP::WSDLDriverFactory, but get the "Nothing
known" message.
Where can I find this elusive WSDLDriverFactory? I am using
RubyInstaller for Windows 1.9.2.

Thanks in advance.

···

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

It's probably in one of the SOAP related Gems:

ge13:37:56 ~$ gem19 list -r soap

*** REMOTE GEMS ***

soap-lc (0.0.3)
soap4r (1.5.8)
soap4r-middleware (0.8.2)
soap4r-middleware-192 (0.8.2)
soap4r-ruby1.9 (2.0.3)
soap4r-straightjacket (1.5.9)
soapbox (0.2.9)
soapex (0.1)

Try ruby soap - Google Search

Kind regards

robert

···

On Fri, Oct 28, 2011 at 8:50 AM, PD Dizon <paulinedonna.dizon@thomsonreuters.com> wrote:

I've seen various examples of using Ruby to generate a SOAP client, and
basically they all have the form

require 'soap/wsdlDriver'
wsdl = 'http://path-to-wsdl'
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver

I tried doing this on my machine, but Ruby says

<internal:lib/rubygems/custom_require>:29:in `require': no such file to
load --
soap/wsdlDriver (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'

I tried to ri SOAP, and ri SOAP::WSDLDriverFactory, but get the "Nothing
known" message.
Where can I find this elusive WSDLDriverFactory? I am using
RubyInstaller for Windows 1.9.2.

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Hi Robert and Nick,

My apologies for not updating.
Ended up using savon, and it works like a gem! (Well, it's a gem duh)

Thanks all.

PD

···

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

If you just want to use SOAP on the client side, there are a couple good
options out there:

I recommend savon.

-Nick Klauer

···

On Fri, Oct 28, 2011 at 06:39, Robert Klemme <shortcutter@googlemail.com>wrote:

On Fri, Oct 28, 2011 at 8:50 AM, PD Dizon > <paulinedonna.dizon@thomsonreuters.com> wrote:

> I've seen various examples of using Ruby to generate a SOAP client, and
> basically they all have the form
>
> require 'soap/wsdlDriver'
> wsdl = 'http://path-to-wsdl'
> driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
>
> I tried doing this on my machine, but Ruby says
>
> <internal:lib/rubygems/custom_require>:29:in `require': no such file to
> load --
> soap/wsdlDriver (LoadError)
> from <internal:lib/rubygems/custom_require>:29:in `require'
>
> I tried to ri SOAP, and ri SOAP::WSDLDriverFactory, but get the "Nothing
> known" message.
> Where can I find this elusive WSDLDriverFactory? I am using
> RubyInstaller for Windows 1.9.2.

It's probably in one of the SOAP related Gems:

ge13:37:56 ~$ gem19 list -r soap

*** REMOTE GEMS ***

soap-lc (0.0.3)
soap4r (1.5.8)
soap4r-middleware (0.8.2)
soap4r-middleware-192 (0.8.2)
soap4r-ruby1.9 (2.0.3)
soap4r-straightjacket (1.5.9)
soapbox (0.2.9)
soapex (0.1)

Try ruby soap - Google Search

Kind regards

robert

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/