Hi,

I am trying to call a ssl enabled web service though lua. But I get the 
following error:

Error: "/usr/local/share/lua/5.1/soap/client.lua:73: "https" protocol support 
not loaded. Try require "soap.client.https" to enable it."

Here is my code:

require "soap.client"
require "ssl"
local ns, meth, ent = soap.client.call {
            namespace = "urn:CustomerInfo",
            url = "https://localhost:18081";,<http://localhost:18081/>
            soapaction = "",
            internal_namespace = "n1",
            method = "getCustomerName",
            entries = {{tag="nothing"},}
}

for i, elem in ipairs (ent[1]) do
            print (elem)
end

I also installed LuaSec ( the SSL support for Lua), but got the same result. 
Any help would be highly appreciated.

Thanks,

Rathish


Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.
_______________________________________________
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