Hi, Gajjala:

The easiest approach is to create a REST server for your database:

    http://docs.marklogic.com/guide/infostudio/database#id_50759

You should also create at least one user for each of the rest-admin, 
rest-writer, and rest-reader roles:

    http://docs.marklogic.com/guide/admin/security#id_58960

After that, you can use HTTP requests to get documents and search:

    http://docs.marklogic.com/guide/rest-dev


Hoping that's useful,


Erik Hennum

________________________________
From: [email protected] 
[[email protected]] on behalf of 
[email protected] 
[[email protected]]
Sent: Wednesday, September 04, 2013 9:52 AM
To: [email protected]
Subject: [MarkLogic Dev General] accessing xml/xqy files in database through a 
http call

All

I am trying to figure out a way to get a document in the database through a 
http call. What changes should I make to my http server to make it allow the 
xml/xqy document. Right now if I hit the browser to get the document it throws 
404 Not Found error.


Thanks
Praveen
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to