tomasguisasola / luasoap

LuaSOAP provides a very simple API that convert Lua tables to and from XML documents
57 stars 18 forks source link

SOAP:Header isn't recognized #2

Closed hanjos closed 12 years ago

hanjos commented 13 years ago

soap.lua's decode fails doubly if given an XML with a SOAP:Header: it fails because the standard function error isn't present in the scope, and because it expects the first element to be a SOAP:Body, which fails in the presence of a SOAP:Header.