-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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.
Does this help?
Nope :-) Q: RESTXQ scripts must be filesystem-based (location with respect to RESTXQPATH) or can I put RESTXQ script directly into the database (as I tried it as described)? Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJU439tAAoJEADcfz7u4AZjDLsLwI23llzsiwx8Y2S03bpUbsAZ ktXbGUDHb1J7QSt/lwlOvSt/mCB4pEkf/zhR/u0LQr1EZ2UuoBeHhIVmvZPDzFwB fxJZWR3fdYEGN/1hItNwClTLYdaMmtgd7UZgY6NRwuaGYMUT4WBpBrv0ExjzFBeW w4KyNMHJPZF2v4VUWZq8UbucIzHYXMftwOiJdAJhvWWrXI3x0cbqiX/i+5jtce8d Zrc0ORECxDGFBtuicC0HH01FuAvs6WzRT0yzZRZ6V6xJMWbMDYIy48aoGMjnxwl4 dPW5HiMUE9Mbm6bzFRsloQ+mHlR4qRaakEh6PwAiSsElPJcBk7IkBn9YRivg4kbl ue6zgsa9sfk7YX6Vo8rfZggpQKvdP9fgZkpzSfPhc0NoqpmWza4nPF1l6fS5FMw+ IC61Q47mp+62yY+AdmG1N1kptmoI7xjUl2tomjHVXC70FPxcLV64WMGDN59Q81uQ 56QgeY0mfKkmlOXoPbXZGALGlzZNzvA= =YHaT -----END PGP SIGNATURE-----