Hi Ratish

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."
        Have you tried what the message suggests?  You can change "ssl"
to "soap.client.https":

require "soap.client"
--require "ssl" require "soap.client.https"

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.
        You need to install luasoap-https (which depends on luasec :-)

        Regards,
                Tomás
_______________________________________________
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