Project

soap4juddi

0.0
No commit activity in last 3 years
No release in over 3 years
Provides connector, xml and brokerage facilities to a jUDDI consumer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
>= 0
~> 10.0
~> 3.4.0

Runtime

~> 0.1.6
 Project Readme

Soap4juddi

Gem Version Build Status Coverage Status Codacy Badge

Soap4juddi provides connector, xml and brokerage facilities to interested consumers. It takes care of talking http or https SOAP to a jUDDI instance, as well as a means of translating the consumer's business domain into the jUDDI business domain (businesses, entities, bindings, etc.)

Installation

Add this line to your application's Gemfile:

gem 'soap4juddi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install soap4juddi

Usage

Note: all the URNs indicated below must be present in the urns dictionary.

@urns = { 'base' => ServiceRegistry::BASE_URN,
          'company' => ServiceRegistry::REGISTRY_URN,
          'domains' => ServiceRegistry::DOMAINS_URN,
          'teams' => ServiceRegistry::TEAMS_URN,
          'services' => ServiceRegistry::SERVICES_URN,
          'service-components' => ServiceRegistry::SERVICE_COMPONENTS_URN}
broker = ::Soap4juddi::Broker.new(@urns)
broker.base_uri('https://uddi.server.com:1234')
broker.authenticate('user', 'credential')
broker.save_service_element('service-name', 'service-description', 'service-definition-uri', @urns['services'], 'generated-business-key')
etc...

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and feature requests are welcome by email to ernst dot van dot graan at hetzner dot co dot za. This gem is sponsored by Hetzner (Pty) Ltd (http://hetzner.co.za)

License

The gem is available as open source under the terms of the MIT License.