isot
Version, currently master branch1 version
- master branchlatestNov 13, 2016
github.com/Hamdiakoguz/isot
A simple WSDL parser in crystal. Ported from wasabi ruby gem.
10 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
isot:
github: Hamdiakoguz/isot
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Authors
- Hamdi Akoğuz <hamdiakoguz@phonoclick.com>, Ender Ahmet Yurt <enderyurt@gmail.com>
Dependencies
This version declares no dependencies.
README
# isot
A simple WSDL parser in crystal. Ported from [wasabi](https://github.com/savonrb/wasabi) ruby gem.
[](https://travis-ci.org/Hamdiakoguz/isot)
## Usage
```crystal
require "./src/isot"
document = Isot.document("./spec/fixtures/authentication.wsdl")
```
Get the SOAP endpoint:
```crystal
puts document.endpoint
# => http://example.com/validation/1.0/AuthenticationService
```
Get the target namespace:
```crystal
puts document.namespace
# => http://v1_0.ws.auth.order.example.com/
```
Check whether elementFormDefault is set to `"qualified"` or `"unqualified"`:
```crystal
puts document.element_form_default
# => unqualified
```
Get a list of available SOAP actions (snakecase for convenience):
```crystal
puts document.soap_actions
# => ["authenticate"]
```
Get a map of SOAP actions from String to Isot::Operation:
```crystal
puts document.operations
# => {"authenticate" => Isot::Operation(@name="authenticate", @action="authenticate", @inputs=[Isot::Message(@name="authenticate", @type=nil, @element="authenticate")], @outputs=[Isot::Message(@name="authenticateResponse", @type=nil, @element="authenticateResponse")], @namespace_identifier="tns", @parameters=[])}
```
## Contributing
1. Fork it ( https://github.com/Hamdiakoguz/isot/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [Hamdiakoguz](https://github.com/Hamdiakoguz) Hamdi Akoğuz - creator, maintainer
- [enderahmetyurt](https://github.com/enderahmetyurt) Ender Ahmet Yurt - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Nov 13, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Hamdiakoguz/isot
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1