Sha256: f60f2e68089568429c4b1693c22f3da09f62d5fd4a14b328f21016f15bbb351e

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

Contents

Wasabi [![Build Status](https://secure.travis-ci.org/rubiii/wasabi.png)](http://travis-ci.org/rubiii/wasabi)
=====

A simple WSDL parser.


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 & 1 rubygems

Version Path
wasabi-3.1.0 README.md
wasabi-3.0.0 README.md
wasabi-2.5.1 README.md
wasabi-2.5.0 README.md
wasabi-2.4.1 README.md
wasabi-2.4.0 README.md
wasabi-2.3.0 README.md
wasabi-2.2.0 README.md
wasabi-2.1.1 README.md
wasabi-2.1.0 README.md