[OT]Re: How to call WebService writed by java?

You can use the Ruby standard SOAP library. To send up the user, you may
be able to get away with sending using hash notation. Hope this
helps/works!

require 'soap/wsdlDriver'

factory = SOAP::WSDLDriverFactory.new("http://pathToYourWsdl?wsdl"\)
soap = factory.create_rpc_driver
soap.yourWebServiceMethod ( :username => 'user', :password => 'password'
)

···

-----Original Message-----
From: John Joyce [mailto:dangerwillrobinsondanger@gmail.com]
Sent: Thursday, August 02, 2007 11:58 AM
To: ruby-talk ML
Subject: [OT]Re: How to call WebService writed by java?

On Aug 2, 2007, at 9:34 AM, Tim Pease wrote:

On 8/2/07, venture Lee <liwenqiu@gmail.com> wrote:

i public a webservice, it implement by java and xfire, method
parameter is a
complex type, example:
public class User() {
    private String username;
    private String password;
    //...geter and seter
}
webservice method define : boolean login(User user);
How to call it by ruby, thanks

ruby webservice - Google Search

TwP

No Reply is far better than RTFM.