RESTXQ
Thursday, 12 March 2015 · 2 messages
EA
Erol Akarsu12 Mar 2015 12:53 #
I need an urgent help here.
I am trying to configure restxqpath web.xml like below and compile war file of basex with command
mvn compile war:war
<context-param>
<param-name>org.basex.restxqpath</param-name>
<param-value>/home/eakarsu/BasexXQ</param-value>
</context-param>I moved dba folder and restxq.xqm to /home/eakarsu/BasexXQ
I deployed war file into local tomcat server and accessed
http://localhost:8080/BaseX801
It brings the content of file restxq.xqm.
But when I call existing restxq services embedded in this file
http://localhost:8080/hello/World
http://localhost:8080/hello/Universe
I am getting 404 error like this
HTTP Status 404 - /hello/World
Am I missing something?
I appreciate your help
Erol Akarsu
CG
Christian Grün12 Mar 2015 13:56 #
Hi Erol,
Quoted text · Erol Akarsu · 3 lines
> But when I call existing restxq services embedded in this file > > http://localhost:8080/hello/World
Maybe it is supposed to be > http://localhost:8080/BaseX801/hello/World ?
Best,
Christian
Written for BaseX 8.0. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery