Sabo
A SOAP client with WSDL support.
Installation
-
Add the dependency to your
shard.yml
:dependencies: sabo: github: place-technology/sabo
-
Run
shards install
Usage
require "sabo"
document = Sabo::WSDL::Document.new("http://www.dneonline.com/calculator.asmx?WSDL")
client = Sabo::Client.new(document: document, version: "1.2")
puts client.operations
response = client.call(operation: "Add", body: {"intA" => Sabo::Parameter.new(5), "intB" => Sabo::Parameter.new(5)})
puts response.result
Contributing
- Fork it (https://github.com/place-technology/sabo/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Giorgi Kavrelishvili - creator and maintainer