SOAP interface for the Lua programming language


LuaSOAP is a library to ease the use of SOAP. LuaSOAP provides a very simple API that convert Lua tables to and from XML documents. It uses LuaExpat to handle XML documents.

LuaSOAP is free software and uses the same license as Lua 5.1.


Current version is 4.0. It was developed for Lua 5.X, and tested on Linux (Ubuntu 14.04) with Lua 5.1, 5.2, 5.3 and LuaJIT 2.0.5 and 2.1.0-beta3.


LuaSOAP can be downloaded in source code from its GitHub page. LuaSOAP can also be installed via LuaRocks with the following command line:

luarocks install luasoap


LuaSOAP 4.0 [05/Dez/2018]
  • Add support for the definition of headers
  • Add module to support generation of WSDL documents (thanks to Victor Dias)
  • Add support to http-digest authentication (thanks to Herbert Leuwer)
  • Convert all values to strings (using tostring when necessary)
LuaSOAP 3.0 [21/Aug/2013]
  • Addition of automatic escaping of special characters (thanks to Seth Behunin)
  • Bug correction: ignoring soap:Header while decoding soap message (thanks to Humberto Anjos)
  • Reimplementation to make it work in all Lua 5.X versions (tested with 5.0, 5.1 and 5.2)
  • Removal of soap.client.https pseudo-module (see HTTPS and SOAP over other transport layers)
LuaSOAP 2.0.2 [27/Dec/2010]
LuaSOAP 1.0 beta [2/Dec/2004]
LuaSOAP 1.0 alpha [4/Apr/2004]


LuaSOAP was designed by Roberto Ierusalimschy, André Carregal and Tomás Guisasola as part of the Kepler Project which holds its copyright. It was implemented by Tomás Guisasola and Pablo Musa with invaluable contributions from Bruno Silvestre.

LuaSOAP development was sponsored by PUC-Rio, Fábrica Digital and FINEP.

Contact us

For more information please contact us. Comments are welcome!

Valid XHTML 1.0!

$Id: index.html,v 1.14 2009/07/22 19:02:46 tomas Exp $