Hi, 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? Thanks -- Posted via http://www.ruby-forum.com/.
Hi, Do you use JRuby ? You can access java methods (getter and setter for example) with jruby .> Posted viahttp://www.ruby-forum.com/.
comopasta Gr wrote:> Hi, > > 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?This is not my area of expertise, but perhaps RJB would be helpful here.> > Any hints? > > ThanksBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
On Mon, Oct 12, 2009 at 5:36 AM, comopasta Gr <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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?SOAP requests return XML, which in this case might be a serialized representation of a bean -- have you looked at the actual response? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
Thanks guys.> SOAP requests return XML, which in this case might be a serialized > representation of a bean -- have you looked at the actual response?Thanks Hassan. Of course. The java object is being serialized and sent as just XML. I collected what I had to do to generate my SOAP request over HTTPS as part of another post I created. Can be found at http://www.ruby-forum.com/topic/196520#new Cheers! -- Posted via http://www.ruby-forum.com/.