GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bet365/soap: Make it easy to use SOAP from Erlang

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
ebin
ebin
 
 
priv
priv
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
rebar.config
rebar.config
 
 

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
  • Documentation overview
  • Building
    • Dependencies
  • Contributors

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:

  • Features, standards support and limitations
  • Client tutorial - describes the details of the generated client module.
  • Server tutorial - an example of how to implement a server from a WSDL (use case 2 above).
  • Server callbacks - a reference guide for the functions that may be provided for the implementation of a SOAP service.
  • Generating a WSDL from Erlang type specifications - a more elaborate example of the "contract last" approach.
  • SOAP attachments - How to create and use services with attachments.
  • Integrating a HTTP client - How to use another HTTP client.
  • Integrating a HTTP server - How to use another HTTP server.
  • Reference guides:
    • soap
    • soap_req
    • soap_fault
    • soap_parsers

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

Readme
Apache-2.0 license
Activity
Custom properties

Stars

200 stars

Watchers

19 watching

Forks

77 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.