Skip to content
/ soap Public
forked from bet365/soap

Make it easy to use SOAP from Erlang

License

Notifications You must be signed in to change notification settings

nordnet/soap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soap

Erlang SOAP support - Make it easy to use SOAP from Erlang.

  • Generate a SOAP client from a WSDL
  • Generate a SOAP server from a WSDL
  • Generate a WSDL from Erlang specifications
  • Use your preferred HTTP client or server application

Contents

Introduction

The soap application provides functions to implement a SOAP client or server in Erlang. It can easily be integrated with existing http client and server applications. Integration for ibrowse, httpc, inets, cowboy and mochiweb is provided.

The figure below provides a high level overview of the application and the main integration points.

![SOAP application](doc/soap architecture.png "Overview of the SOAP application")

The starting point can be a WSDL for which you need to implement an Erlang SOAP client or server, or an existing Erlang function that you want to expose as a service (and for which you need a WSDL).

The figure below shows how the application can generate the relevant modules, either starting from a WSDL ("contract first") or starting from a set of Erlang type specifications ("contract last").

![Process and artifacts](doc/soap process.png "Process and artifacts")

Documentation overview

A use cases document gives an overview of the application by describing the 3 main use cases:

  1. Implementing a SOAP client - Consume a web service.
  2. Implementing a SOAP server - Expose a web service.
  3. Creating a WSDL - Expose a function as a web service and generate a WSDL.

For more details there are additional documents:

Building

rebar is used to build the software.

rebar get-deps
rebar compile

Alternatively, just type make to compile the code, and make ct to run the tests (the Makefile invokes rebar).

Dependencies

soap requires erlsom, version v1.4.0 or later.

Contributors

This soap application was developed by Willem de Jong(@willemdj) with design input from Chandru Mullaparthi(@cmullaparthi). The development of this library was sponsored by bet365.

About

Make it easy to use SOAP from Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 99.9%
  • Other 0.1%