Sha256: 502c67454b19392c44c7b53139befaa8ccb9e0e3dc41ac43da0722366c35e923
Contents?: true
Size: 940 Bytes
Versions: 2
Compression:
Stored size: 940 Bytes
Contents
Savon ===== Heavy metal Ruby SOAP client [Official documentation](http://savonrb.com) | [RDoc](http://rubydoc.info/gems/savon) | [Google Group](http://groups.google.com/group/savon-soap) Installation ------------ Savon is available through [Rubygems](http://rubygems.org/gems/savon) and can be installed via: ``` $ gem install savon ``` Basic workflow -------------- ``` ruby # Setting up a Savon::Client representing a SOAP service. client = Savon::Client.new "http://service.example.com?wsdl" client.wsdl.soap_actions # => [:create_user, :get_user, :get_all_users] # Executing a SOAP request to call a "getUser" action. response = client.request :get_user do soap.body = { :id => 1 } end response.to_hash # => { :get_user_response => { :first_name => "The", :last_name => "Hoff" } } ``` Excited to learn more? ---------------------- Then you might want to [go ahead and read the official documentation](http://savonrb.com).
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
search_biomodel-1.0.0 | search_biomodel/ruby/1.8/gems/savon-0.9.2/README.md |
savon-0.9.2 | README.md |