Andreas Jung wrote:
Christian GrĂ¼n wrote:
Both scripts (my own and the hello world script) are located inside a 'scripts' subfolder:
dav:/webdav/scripts/> ls I'm a bit surprised about the 'webdav' segment in you path. Is this a sub-directory of the webapp directory (please see [1] for more information)? Or do you store all files in a database?
Calling http://host:port/hello/xxxx works. This is probably because of the sample RESTXQ code, which you can find in webapp/restxq.xqm.
ok, slowly making progress.... I added a stripped-down version of my script into the webapp folder https://gist.github.com/zopyx/a0219e145d86dc154e5e and I can access http://.../all-documents.xml however http://.../all-documents.json gives me a 404 error. I thought RESTXQ scripts would be compatible in some way :-) Andreas