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.
On Fri, Oct 28, 2011 at 8:50 AM, PD Dizon
[email protected] wrote:
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 http://www.google.com/search?q=ruby+soap
Kind regards
robert
If you just want to use SOAP on the client side, there are a couple good
options out there:
https://www.ruby-toolbox.com/categories/soap
I recommend savon.
-Nick K.
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