Tomas,

Thanks for your response.

I tried the same what you mentioned, but it gave the same result. Later, I 
realized that the https package was missing in my system. I got the https 
package from net, then it started working with the below mentioned changes.

Thanks,

Rathish

________________________________________
From: kepler-project-boun...@lists.luaforge.net 
[kepler-project-boun...@lists.luaforge.net] on behalf of Tomas Guisasola Gorham 
[to...@tecgraf.puc-rio.br]
Sent: Tuesday, April 26, 2011 6:35 PM
To: Kepler Project mailing list
Subject: Re: [Kepler-Project] ssl with LUASOAP

        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

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


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