I've been looking at server.lua, and of course there are no instances of
SOAP server routines, the user has to provide them. But could you outline
the steps for adding a service routine?

Also, I'm puzzled by your earlier comment that,

>>There is no automatically-generated WSDL.

Almost half of the source code seems to be about that, such as the routine:

 function generate_wsdl().

--WHW

On Sun, Dec 13, 2009 at 2:52 PM, walter wilkinson <
wilkinson.wal...@gmail.com> wrote:

> 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
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to