From: Scott Ellsworth Date: 2005-07-28T10:06:00+09:00 Subject: Re: SOAP examples In article <42E6DD3D.6060202@sarion.co.jp>, "NAKAMURA, Hiroshi" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Brian Doyle wrote: > > I'm a Ruby newbie and have a SOAP client question. I can't seem to > > find any good SOAP examples using Ruby. I've looked at the Pickaxe > > book and Google nothing really goes into the detail that I need. > > > > I'm trying to create a ruby client and it's very different from the > > Java world that I'm use to. In Java you download the wsdl and it > > generates the parameter class file that I need to pass into the web > > service from the client. Is that the same process that you would do > > with Ruby? If so how do you generate the source file that is needed > > to pass to the web service. Thanks. > > Please use wsdl2ruby.rb which is included in soap4r-1.5.4. wsdl2ruby.rb > is not included in Ruby as a bundled library. > > wsdl2ruby.rb generates class definitions and a client proxy class as you > expected. Ooooo - keen. This will help one project of mine! (A different project needs the other way - a wsdl from ruby source to be consumed by Java and C# clients.) Scott -- Scott Ellsworth scott@alodar.nospam.com Java and database consulting for the life sciences