This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SOAP
#1
Hi
Is there a soap library available for Lua scripting?
Or any other way how to call SOAP procedure on a remote server?
Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#2
You can try adding LuaSOAP as user libraries with some minor modifications.

1. Create user library called lxplom and paste code this code:
https://github.com/LuaDist/luaexpat/blob...xp/lom.lua

2. Create user library called soap and paste code this code, replacing require"lxp.lom" with require"user.lxplom"
https://github.com/tomasguisasola/luasoa...c/soap.lua

3. Create user library called soapclient and paste code this code, replacing require("soap") with require("user.soap")
https://github.com/tomasguisasola/luasoa...client.lua

Then in your script you can load client library like this:
Code:
client = require('user.soapclient')
Reply
#3
Perfect. It works!
Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Forum Jump: