lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Tue, Oct 13, 2009 at 7:07 PM, Tomas Guisasola Gorham <tomas@tecgraf.puc-rio.br> wrote:
    
       We are using LuaSOAP here at PUC and it is working quite well.
Also, we are planning to release a new version quite soon (in fact, we
are waiting LuaSec 0.4 which will come with https support).  If cannot wait,
I can send you the files (I think anonymous CVS on LuaForge won't work).


Hi Tomas,

Thanks for letting me know. I think LuaSOAP would probably be fine for me right now. I'm only at a test stage at the moment, and the SOAP methods are very simple.

But I seem to be missing something obvious. I copied soap.lua and http.lua from the LuaSOAP library to my script directory.  The script starts with:

require "luarocks.require"
require "http"

This triggers an error about "luasocket" which can't be found. I initially thought it had something to do with luarocks, but it seems that in http.lua there is a line: require "luasocket" which I think should read: require "socket".

After fixing this error I run into the next in soap.lua: module(arg and arg[1]) which gets a nil argument. Then I change this to module("soap") and I run into the next....

What is going on here? Am I trying to use an outdated version of LuaSOAP?

Thijs