Hi, before I begin I would like to apologize for my English because I’m
I’m new in Ruby and I wonder if it’s possible to make Ruby and Java
communicate without JRuby ? Or with a JRuby “block” in my Ruby program ?
In fact, I am trying to develop a Java web service and I have to develop
a client for this web service in Ruby. Everything works well for calls
to my Web Service’s methods without parameters, I receive yet a
java.lang.String in answer.
But I have a method that needs a parameter (java.lang.String) and that
doesn’t work: my Web Service receive a ‘null’ value. I tried to use a
library called rjni but I have some problems with the setup (a file is
not found). Does anybody have another simple idea to send my parameter
without changing the rest of my code?
Here is my Ruby code :
#Call to the web service