Sha256: baca831badc26770dff3b545b15cc67c1465416c07169d6bd07081d88a8d69c9

Contents?: true

Size: 1.38 KB

Versions: 10

Compression:

Stored size: 1.38 KB

Contents

# Wasabi

A simple WSDL parser.

[![Build Status](https://secure.travis-ci.org/savonrb/wasabi.png)](http://travis-ci.org/savonrb/wasabi)
[![Gem Version](https://badge.fury.io/rb/wasabi.png)](http://badge.fury.io/rb/wasabi)
[![Code Climate](https://codeclimate.com/github/savonrb/wasabi.png)](https://codeclimate.com/github/savonrb/wasabi)
[![Coverage Status](https://coveralls.io/repos/savonrb/wasabi/badge.png?branch=master)](https://coveralls.io/r/savonrb/wasabi)


## Installation

Wasabi is available through [Rubygems](http://rubygems.org/gems/wasabi) and can be installed via:

```
$ gem install wasabi
```


## Getting started

``` ruby
document = Wasabi.document File.read("some.wsdl")
```

Get the SOAP endpoint:

``` ruby
document.endpoint
# => "http://soap.example.com"
```

Get the target namespace:

``` ruby
document.namespace
# => "http://v1.example.com"
```

Check whether elementFormDefault is set to `:qualified` or `:unqualified`:

``` ruby
document.element_form_default
# => :qualified
```

Get a list of available SOAP actions (snakecase for convenience):

``` ruby
document.soap_actions
# => [:create_user, :find_user]
```

Get a map of SOAP action Symbols, their input tag and original SOAP action name:

``` ruby
document.operations
# => { :create_user => { :input => "createUser", :action => "createUser" },
# =>   :find_user => { :input => "findUser", :action => "findUser" } }
```

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
wasabi-3.5.0 README.md
wasabi-3.4.0 README.md
wasabi-3.3.1 README.md
wasabi-3.3.0 README.md
wasabi_with_adapter-3.2.4 README.md
wasabi-3.2.3 README.md
wasabi-3.2.2 README.md
wasabi-3.2.1 README.md
wasabi-ng-1.6-3.3.0 README.md
wasabi-3.2.0 README.md