How can I handle a java bean in rails?


I have to interface (using SOAP) with an external system. Most of the
methods respond with a java bean. Look like it was done expecting java
on the client side always.

My question is, how can I interface with that, how can I take a java
bean and handle it on the RoR side?

Any hints?


Do you use JRuby ?
You can access java methods (getter and setter for example) with
jruby .

SOAP requests return XML, which in this case might be a serialized
representation of a bean -- have you looked at the actual response?