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
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/