Well, it's in fact luarocks that is not up to date and I was able to upgrade to 3.0 using the stock tarball.
But luasoap still fail to decode :
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"></SOAP-ENV:Header><SOAP-ENV:Body>
<ser-root:CheckEntryPointsResponse xmlns:ser-root="http://eux932.sgp.st.com/STAdminMisc/StopB2BProcessing/CheckEntryPointsWS"><ErrorMessages>
<ArrayOfstringItem>Port FilePollingListener:/home/wmadm/usr/laurent/tst is
disabled</ArrayOfstringItem>
<ArrayOfstringItem>Task STAdmin.purge:purgeISData is suspended</ArrayOfstringItem>
<ArrayOfstringItem>SAPListener STSAPResource.B2BCRM.listener:B2BCRM is NOT enabled</ArrayOfstringItem></ErrorMessages></ser-root:CheckEntryPointsResponse></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The error came from the assert of /usr/local/share/lua/5.1/soap/client.lua Line 96.
I'm still investigating ...
Hi Tomas,
Do you have any idea when you will be able to release LuaSoap 3.0 and if it will be compatible with Lua 5.1 ?
It did another try (as I still have my requirement to consume some webMethod's webservices) but I'm still not able to install all dependancies : i.e. luasocket is 5.1 only, ...
Thanks
Laurent
Hi,
I'm still trying to investigate the issue but using a SAG's webMethods provider this time (to be sure the problem doesn't come from PHP soap layer).
1/ Unfortunately, it doesn't work at all as webMethods' is providing an soap:Header before the body.
2/ As it seems this issue is solved with LuaSoap 3.0, I tried to update LuaSoap but I got some compatibility error with Lua 5.1.4 (sorry, I don't have noted the error I got).
3/ then I've tried to install Lua 5.2 from source + LuaSoap 3.0
+ LuaSocket 2.0.2 still from source.
And this time, I've got following messages :
/home/laurent/Softs/bin/lua: error loading module 'socket.core' from file '/home/laurent/Softs/lib/lua/5.2/socket/core.so':
/home/laurent/Softs/lib/lua/5.2/socket/core.so: undefined symbol:
luaL_typerror
stack traceback:
[C]: in ?
[C]: in function 'require'
/home/laurent/Softs/share/lua/5.2/socket.lua:13: in main chunk
[C]: in function 'require'
/home/laurent/Softs/share/lua/5.2/socket/http.lua:11: in main chunk
[C]: in function 'require'
/home/laurent/Softs/share/lua/5.2/soap/client.lua:13: in main chunk
[C]: in function 'require'
TstEcho:1: in main chunk
[C]: in ?
So, all, in all, I'm not able to run LuaSoap on 5.2 and I can't test with webMethods at all.
I'm continuing to trace down this nasty error using old LuaSoap 2.0.2 ...
Bye
Laurent