Hi,
I am using Maven to get basex.jar and basex-api.jar and then trying to integrate them with Jetty on the lines of how it is done in the zip file available at http://www.inf.uni-konstanz.de/dbis/basex/download/BaseX61-api.zip - the reason I am doing it in my own Maven build is because 6.1 is not the latest version of basex, but the bundled distribution including Jetty is not available for a later version.
I have not tested the bundled distribution (Jetty bundled for access using REST).
I am not able to get this to work however - all I get is internal server when I attempt anything other than get application.wadl - e.g., I cannot PUT successfully using the guidelines at http://www.inf.uni-konstanz.de/dbis/basex/rest.
I had a cursory look at the java code and could not immediately figure out how Jetty is connecting to the Basex server instance in the StartJaxRx.java or StartJetty.java - to me it merely appears to start the two servers.
I will later attempt to use the bundled .zip file available for download, although that is for an earlier version.
Hi Mahender,
you can check out all three projects (see http://www.inf.uni-konstanz.de/dbis/basex/install). After that just start the StartJaxRx.java in the examples project. Now you can run the examples from http://www.inf.uni-konstanz.de/dbis/basex/rest.
Kind regards, Andreas
Am 01.10.2010 17:30, schrieb Mahender Didwania:
Hi,
I am using Maven to get basex.jar and basex-api.jar and then trying to integrate them with Jetty on the lines of how it is done in the zip file available at http://www.inf.uni-konstanz.de/dbis/basex/download/BaseX61-api.zip - the reason I am doing it in my own Maven build is because 6.1 is not the latest version of basex, but the bundled distribution including Jetty is not available for a later version.
I have not tested the bundled distribution (Jetty bundled for access using REST).
I am not able to get this to work however - all I get is internal server when I attempt anything other than get application.wadl - e.g., I cannot PUT successfully using the guidelines at http://www.inf.uni-konstanz.de/dbis/basex/rest.
I had a cursory look at the java code and could not immediately figure out how Jetty is connecting to the Basex server instance in the StartJaxRx.java or StartJetty.java - to me it merely appears to start the two servers.
I will later attempt to use the bundled .zip file available for download, although that is for an earlier version.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de