« Return to Thread: jruby and SOAP

Re: jruby and SOAP

by Chiaming Hsu :: Rate this Message:

Reply to Author | View in Thread


For SOAP clients, we have been using Ruby SOAP on JRuby without any problem.  Ruby SOAP is a lot simpler to use compared to any Java variants.  This is an example call in just a few lines:

require 'net/http'
require 'soap/wsdlDriver'

rpc_soap_client = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
response = rpc_soap_client.search request_parameters


The original question seems to be about server-side, though, which we still use pure Java, not JRuby.

Cheers,
Chiaming Hsu




----- Original Message ----
From: Peter Ehrenberg <pe@...>
To: user@...
Sent: Wednesday, July 1, 2009 10:05:39 AM
Subject: Re: [jruby-user] jruby and SOAP

2009/6/26 Marco Dohnke <dohnke@...>:

> after trying one day to get jruby working with axis or actionwebservice, I
> asked myself if I am the only who is trying to work with this combination.
> Does anyone use SOAP web services with jruby (on Rails) ?
> Which environment is usual for this?

Creating a soap client from wsdl file using axis2 wsdl2java works without
much hassle.

/Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: jruby and SOAP