| Message: 97431 |
 |
BY: priscilla colleaux (luminatis) DATE: 2012-01-27 17:54 SUBJECT: RE: Ruby to Java Thank you for your answer !
But I think I might need more details, how do I import my service with Rjb::import?
Yes, I do use a uri to express my Service. Here is my code without using Rjb (that doesn't work like this neither), it would be more simple :
require 'soap/wsdlDriver'
require 'rjb'
Rjb::load('.')
wsdl_url = 'http://localhost:8080/SOAPWebServiceLabo3/SOAPWebService?wsdl'
service=SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
service.wiredump_file_base='soapmsgs'
jour=gets.chomp
result=service.volsProgrammesAtDay(jour)
puts result.return.inspect.split("|")
| |