I'm trying to get the SOAP server running illustrated in LuaSOAP's server.lua. The top-level function in server.lua appears to be handle_request and it begins:
--------------------------------------------------------------------- -- Handles the request received by the calling script. -- @param postdata String with POST data from the server. -- @param querystring String with the query string. --------------------------------------------------------------------- function handle_request(postdata, querystring) Could I dispatch this directly using app.lua? I am finding the documentation at http://www.keplerproject.org/cgilua/manual.html#dispatching a bit hard to follow. The URL I would like to have would be something like: http://localhost:8080/app.lua/soap/somefunction for responding to SOAP requests from clients. I have a directory under kepler/apps called 'soap'. There is a file, init.lua in the directory...could I rename server.lua to soap.lua and configure init.lua so that the function handle_request gets called appropriately?
_______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
