Giter Site home page Giter Site logo

savon's Introduction

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.

savon's People

Contributors

rubiii avatar tjarratt avatar ashrocket avatar antstorm avatar keltia avatar hoverlover avatar thefooj avatar futuremint avatar walle avatar sshaw avatar dwnoble avatar tsyber1an avatar timabdulla avatar nathansamson avatar koppen avatar krissi avatar larskanis avatar seanmil avatar rajeev-sourcebits avatar mehmetc avatar mattkirman avatar kieranmaine avatar snarglebritchet avatar xymbol avatar alexanderk23 avatar envek avatar jc00ke avatar cavebatsofware avatar ayrat555 avatar elcuervo avatar

Watchers

James Cloos avatar Vitalik Danchenko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.