org.basex.server.ClientSession versus Java client BaseXClient.java
Hello A question. The class code org.basex.server.ClientSession coincides roughly with the class code BaseXClient.java provided as an example of Java client in https://github.com/BaseXdb/basex-api/tree/master/src/main/java? I think it must be so, but I want to assure. If the answer is yes, the classorg.basex.server.ClientSession is as efficient as using the BaseXClient.java, right? Regards, Isidre Guixà
Hello I try to execute WikiExample.java and I find this error: === WikiExample === * Create a database from a file via http. Exception in thread "main" org.basex.core.BaseXException: connect: Address is invalid on local machine, or port is not valid on remote machine at org.basex.core.Command.execute(Command.java:77) at org.basex.core.Command.execute(Command.java:89) at proves.WikiExample.main(WikiExample.java:34) My machine: Win7-SP1 (x64) - Java 1.7.0 (x64) - BaseX 7.1 I can navigate to http://en.wikipedia.org/wiki/Wikipedia without problems! Thanks. Isidre Guixà
Isidre, sorry for the late feedback. The example seems to work on our machines. Have you been successful calling it another time? Christian ___________________________ 2012/2/18 Isidre Guixà <iguixa@xtec.cat>:
Hello
I try to execute WikiExample.java and I find this error:
=== WikiExample ===
* Create a database from a file via http. Exception in thread "main" org.basex.core.BaseXException: connect: Address is invalid on local machine, or port is not valid on remote machine at org.basex.core.Command.execute(Command.java:77) at org.basex.core.Command.execute(Command.java:89) at proves.WikiExample.main(WikiExample.java:34)
My machine: Win7-SP1 (x64) - Java 1.7.0 (x64) - BaseX 7.1
I can navigate to http://en.wikipedia.org/wiki/Wikipedia without problems!
Thanks.
Isidre Guixà
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Christian Grün -
Isidre Guixà