Skip to content

keeguon/savon

This branch is 132 commits behind savonrb/savon:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 4, 2016
Mar 3, 2016
Apr 14, 2014
Jan 17, 2016
May 17, 2012
May 27, 2015
Apr 14, 2014
Feb 26, 2016
Apr 14, 2014
Jan 15, 2016
Apr 14, 2014
May 15, 2013
May 27, 2015

Repository files navigation

Savon

Heavy metal SOAP client

Documentation | RDoc | Mailing list | Twitter

Build Status Gem Version Code Climate Coverage Status

Version 2

Savon version 2 is available through Rubygems and can be installed via:

$ gem install savon

or add it to your Gemfile like this:

gem 'savon', '~> 2.11.0'

Usage example

require 'savon'

# create a client for the service
client = Savon.client(wsdl: 'http://service.example.com?wsdl')

client.operations
# => [:find_user, :list_users]

# call the 'findUser' operation
response = client.call(:find_user, message: { id: 42 })

response.body
# => { find_user_response: { id: 42, name: 'Hoff' } }

For more examples, you should check out the integration tests.

FAQ

  • URI::InvalidURIError -- if you see this error, then it is likely that the http client you are using cannot parse the URI for your WSDL. Try gem install httpclient or add it to your Gemfile.

Give back

If you're using Savon and you or your company is making money from it, then please consider donating via Gittip so that I can continue to improve it.

donate

Documentation

Please make sure to read the documentation.

And if you find any problems with it or if you think something's missing, feel free to help out and improve the documentation.

Donate icon from the Noun Project.

About

Heavy metal SOAP client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%