Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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("|")


Thread View

Thread Author Date
Ruby to Javapriscilla colleaux2012-01-27 16:30
      RE: Ruby to JavaAmal Chaudhuri2012-01-27 17:06
            RE: Ruby to Javapriscilla colleaux2012-01-27 17:54
                  RE: Ruby to JavaAmal Chaudhuri2012-01-27 20:09
                  RE: Ruby to JavaAmal Chaudhuri2012-01-27 20:16
                        RE: Ruby to Javapriscilla colleaux2012-01-27 21:04

Post a followup to this message