Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

launchscout/savon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Savon Build Status

Heavy metal Ruby 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.new("http://service.example.com?wsdl")

client.wsdl.soap_actions
# => [:create_user, :get_user, :get_all_users]

# execute a SOAP request to call the "getUser" action
response = client.request(:get_user) do
  soap.body = { :id => 1 }
end

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

Documentation

Continue reading at savonrb.com

Packages

No packages published

Languages

  • Ruby 100.0%