sabo

Version, currently master branch1 version
  • master branchlatestJul 19, 2022

github.com/place-technology/sabo

A SOAP client with WSDL support

6 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  sabo:
    github: place-technology/sabo
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.4.1
License
MIT
Author
Giorgi Kavrelishvili <giorgi.kavrelishvili@pm.me>

Dependencies

Runtime Dependencies

Development Dependencies

  • ameba*github: crystal-ameba/amebadev

README

# Sabo

A SOAP client with WSDL support.

## Installation

1. Add the dependency to your `shard.yml`:

   ```yaml
   dependencies:
     sabo:
       github: place-technology/sabo
   ```

2. Run `shards install`

## Usage

```crystal
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

- [Giorgi Kavrelishvili](https://github.com/grkek) - creator and maintainer