Hi Marcin
I would be gratefull for client example without WSDL. I will se is it
possible to adapt it to my needs.
Have you checked the test file (tests/test-http.lua)?
local soap_client = require"soap.client"
local request = {
url = "http://validator.soapware.org",
soapaction = "/validator1",
namespace = nil,
method = "easyStructTest",
entries = {
{
tag = "stooges",
{ tag = "curly", attr = { "xsi:type", ["xsi:type"] = "xsd:int", }, -5 },
{ tag = "larry", attr = { "xsi:type", ["xsi:type"] = "xsd:int", }, 5 },
{ tag = "moe", attr = { "xsi:type", ["xsi:type"] = "xsd:int", }, 41 },
},
}
}
local ns, meth, ent = soap_client.call (request)
assert(tonumber(ent[2][1]) == 41)
request.entries[1][2][1] = "abc"
soap_client.call (request)
print"Ok!"
Unfortunately, I think the site is not responding anymore... But
I hope you get the idea.
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/