sabo

A SOAP client with WSDL support

Sabo

A SOAP client with WSDL support.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      sabo:
        github: place-technology/sabo
    
  2. 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

  1. Fork it (https://github.com/place-technology/sabo/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

sabo

Owner
Statistic
  • 5
  • 0
  • 0
  • 1
  • 3
  • over 2 years ago
  • July 19, 2022
License

MIT License

Links
Synced at

Fri, 08 Nov 2024 01:08:19 GMT

Languages