Sha256: ad231aa9a2d04ec0427313a3b1de775543b005961ad872375e2830b7ba5ae0aa
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 KB
Contents
Wasabi [![Build Status](http://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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
vagrant-tiktalik-0.0.3 | vendor/bundle/ruby/2.0.0/gems/wasabi-1.0.0/README.md |
wasabi-2.0.0 | README.md |
wasabi-1.0.0 | README.md |