Forum: Ruby Re: Re: How to call WebService writed by java?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F2b7274c11250fd0406c22236ad969ed?d=identicon&s=25 Allen Riddle (Guest)
on 2007-08-02 19:19
(Received via mailing list)
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'
)
This topic is locked and can not be replied to.