Hello @clodo,
you can build REST over SOAP by createing JSSP page in "Dynamic JavaScript pages":
<%@ page import="/nl/core/shared/nl.js"%>
<%
loadLibrary("xtk:common.js");
loadLibrary("xtk:shared/json2.js");
NL.require('/nl/core/shared/xtk.js')
.require("/nl/core/api.js")
.require('/nl/core/jsspcontext.js')
NL.API.init(request, response, {
jsonOutput: true
}, function(jsspContext) {
response.addHeader("Pragma", "no-cache")
response.addHeader("Cache-Control", "no-cache");
response.addHeader("Expires", new Date().toGMTString());
//do something resty
});
%>Also take a look at other pages in there for inspiration and also take a look at the 'nl/core/api.js'
Marcel Szimonisz
MarTech Consultant
for more tips visit my blog
https://www.martechnotes.com/