Sha256: b286af783373ea542c3a09e496e878ac7d677dbe699ca649c6b7e1b1097f8563
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# Wasabi A simple WSDL parser. [](http://travis-ci.org/savonrb/wasabi) [](http://badge.fury.io/rb/wasabi) [](https://codeclimate.com/github/savonrb/wasabi) [](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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wasabi-3.6.1 | README.md |
wasabi-3.6.0 | README.md |