Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple WSDL parser
Branch: master
Pull request Compare This branch is 132 commits behind savonrb:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
wasabi.gemspec

README.md

Wasabi Build Status

A simple WSDL parser.

Installation

Wasabi is available through Rubygems and can be installed via:

$ gem install wasabi

Getting started

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

Get the SOAP endpoint:

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

Get the target namespace:

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

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

document.element_form_default
# => :qualified

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

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

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

document.operations
# => { :create_user => { :input => "createUser", :action => "createUser" },
# =>   :find_user => { :input => "findUser", :action => "findUser" } }
Something went wrong with that request. Please try again.