Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (29 sloc) 1.001 kB

Savon Build Status

Heavy metal SOAP client

Documentation | RDoc | Mailing list | Twitter

Installation

Savon is available through Rubygems and can be installed via:

$ gem install savon

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
  message(user_id: 1)
end

response.body
# => { :get_user_response => { :first_name => "The", :last_name => "Hoff" } }

Documentation

Continue reading at savonrb.com

Jump to Line
Something went wrong with that request. Please try again.