Savon
Heavy metal SOAP client
Documentation | RDoc | Mailing list | Twitter
Version 2
Savon 2.0 is almost feature-complete and I would really appreciate your feedback!
To get started, add the following line to your Gemfile:
gem "savon", github: "savonrb/savon", branch: "version2"
Introduction
require "savon"
# create a client for your SOAP service
client = Savon.client(wsdl: "http://service.example.com?wsdl")
client.operations
# => [:create_user, :get_user, :get_all_users]
# execute a SOAP request to call the "getUser" action
response = client.call(:get_user) do
(user_id: 1)
end
response.body
# => { :get_user_response => { :first_name => "The", :last_name => "Hoff" } }
Documentation
Continue reading at savonrb.com