Hi Geert,
I tried various variations on my one, but not this one. Now it works as expected. Thanks for taking care. Maybe the tutorial should be a little bit less vague about this. :) Thanks Martin Von: [email protected] [mailto:[email protected]] Im Auftrag von Geert Josten Gesendet: Freitag, 5. Juni 2015 11:50 An: MarkLogic Developer Discussion Betreff: Re: [MarkLogic Dev General] Create Http Server Tutorial Hi Martin, Maybe the tutorial is a little vague about this, but if the full path of your load.xqy is C:\Program Files\MarkLogic\Apps\Test\load.xqy, then your Root should be Apps/Test, and the http url to it would be http://localhost:8005/load.xqy. I hope that clears things up for you.. Cheers, Geert From: Martin Vollmix <[email protected] <mailto:[email protected]> > Reply-To: MarkLogic Developer Discussion <[email protected] <mailto:[email protected]> > Date: Friday, June 5, 2015 at 11:32 AM To: 'MarkLogic Developer Discussion' <[email protected] <mailto:[email protected]> > Subject: Re: [MarkLogic Dev General] Create Http Server Tutorial Hi Geert, In the Create http Server Dialog: I just typed in Test like described in the tutorial. I created a Test Directory in C:\Program Files\MarkLogic\Apps as described in the tutorial. In the newly created Test Directory I put the xqy files into this directory Thanks Martin Von: [email protected] <mailto:[email protected]> [mailto:[email protected]] Im Auftrag von Geert Josten Gesendet: Freitag, 5. Juni 2015 10:06 An: MarkLogic Developer Discussion Betreff: Re: [MarkLogic Dev General] Create Http Server Tutorial Hi Martin, What did you specify as Root in your app server, and at which filesystem path did you put your load.xqy? Cheers, Geert From: "Martin Vollmer (hotmail)" <[email protected] <mailto:[email protected]> > Reply-To: MarkLogic Developer Discussion <[email protected] <mailto:[email protected]> > Date: Friday, June 5, 2015 at 9:32 AM To: "[email protected] <mailto:[email protected]> " <[email protected] <mailto:[email protected]> > Subject: [MarkLogic Dev General] Create Http Server Tutorial Dear MarkLogic Devs, I started to create a http Server in MarkLogic 8 on Windows exactly following the steps in here: http://docs.marklogic.com/guide/getting-started/xquery#id_70912 But when I try to call the xqy Files via http://localhost:8005/Test/load.xqy I always get a 404. I tried it on two different machines. BTW I can access the xqy file when I am using http://localhost:8000/Test/load.xqy but then the Doc is stored in the AppServices DB. Any Hints? Martin Vollmer Staufener Str. 6 81245 München Tel.: +49 89 354 5283 Mobil: +49 176 993 994 38
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
