Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: [OT]Re: How to call WebService writed by java?
Allen Riddle
8/2/2007 5:19:00 PM
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
>>
>
>
http://www.google.com/search?q=ruby%20...
>
>
> TwP
>
No Reply is far better than RTFM.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: [OT]Re: How to call WebService writed by java?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password