Hi,

On 9/3/07, Marcin Tyman <m.tyman / interia.pl> wrote:
> Lee Irving wrote:
> > Have you tried wsdl2ruby script, this will create you a fully
> > functioning
> > ruby wsdl client ?
>
> can you explain how to use it. Because I realized that wsdl2ruby.rb
> contains only class definition and there is no documentation for it.

There should be a wsdl2ruby script, but AFAIK it's not usually distributed.

This is what I do:

require 'wsdl/soap/wsdl2ruby'

wsdl = WSDL::SOAP::WSDL2Ruby.new
wsdl.location = "wsdl/data/ps/ps.wsdl"
wsdl.opt['force'] = true
wsdl.opt['classdef'] = "wsdl/ps"
wsdl.opt['module_path'] = "PS"
wsdl.opt['mapping_registry'] ||= nil
wsdl.opt['driver'] ||= nil
wsdl.run

You can ask for more information in:
http://groups.google.com/group/soap4r

-- 
Felipe Contreras