On 16/01/2014, Dirk Kirsten dk@basex.org wrote:
No, you don't want to change your %rest:path() annotation. You _never_ put anything like http://localhost into your %rest:path() annotation. The URLs I have given are the URLs you have to enter in your browser to access this functions.
The result of the url 'http://localhost:8984/test' in the web browser is a web page with the html form. Finally, I have made a millimetre of progress! :)
The result of 'http://localhost:8984/xmldatabasefile.xml/bookstore/book' is:
HTTP ERROR 404
Problem accessing /xmldatabasefile.xml/bookstore/book. Reason: No function found that matches the request.
Powered by Jetty://