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


#1

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’
)