An article on popular SOAP-Clients savon and handsoap
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib add geoip Dec 1, 2010
spec
.gitignore
.rvmrc
Gemfile add geoip Dec 1, 2010
Gemfile.lock add debugger Nov 14, 2010
Rakefile update to rspec 2 Nov 14, 2010
readme.textile add geoip Dec 1, 2010

readme.textile

Savon Handsoap Shootout

This is the code repository for a technical article on two popular SOAP clients Savon, Handsoap and Soap4r.

You should have RVM installed for the different examples.

Which versions are being compared?

We try to always compare the latest versions of both libraries. Right now we use: Savon 0.8.0 and Handsoap 1.1.7 and Soap4r running on Ruby 1.8.7 and JRuby 1.5.2.

Getting started

Download or clone the repository via:

git clone git://github.com/phoet/savon_handsoap_shootout.git

You can install all dependencies with Bundler:

rvm use 1.8.7@savon_handsoap_shootout --create
gem install bundler
bundle install

Or the equivalent thing in JRuby:

rvm use jruby-1.5.2@savon_handsoap_shootout --create
gem install bundler
bundle install --without=no_jruby

Ruby 1.9

There are some problems with SOAP4R and Ruby 1.9 so this is not within the scope of this project.

How to use

If you want to execute the examples, there are some rake tasks for your convenience:

# show all rake tasks
rake -T

Run rake to execute the specifications. The default rake task executing the specs will exit unless all public SOAP services are available. Look at the examples comparing the use of Savon and Handsoap in the “lib/shootout” folder.

How to help

If you own or know about a public SOAP service that we could use, please get in touch.

Problems?

In case of a LoadError, please make sure Rubygems is used.