Thanks Geert, I have a rewriter configured and working already in a simple 
example app.  But the apps we'll be porting are much more complex and I am 
hoping to use the RESTful convention that is portrayed in this lab 
(http://developer.marklogic.com/media/mluc11-labs/rest-rewriter/rewriter-lab.pdf).
  Upon review, you'll see a reference to a rest.xqy module that does the 
dispatching work.  I cannot find it.

Paul Williams

From: [email protected] 
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Wednesday, May 25, 2011 4:55 PM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] REST API

Hi Paul,

Part of the solution is using the url rewriter option of http app servers. That 
and more is explained in the application developer guide. Here a direct link to 
the HTML section, the guide is also available as PDF:

http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/xml/dev_guide/appserver-control.xml&query=rest+cat%3aguides%23pgfId-1059987

Kind regards,
Geert

Van: [email protected] 
[mailto:[email protected]] Namens Williams, Paul
Verzonden: woensdag 25 mei 2011 22:46
Aan: [email protected]
Onderwerp: [MarkLogic Dev General] REST API

I'm researching options for implementing a URL rewriting pattern in a set of 
applications being ported from eXist to MarkLogic.  But I cannot find much in 
the way of documentation on the native REST support that is now available.  
I've read para 3.2 of the 4.1 Release Notes about URL Rewriting and JSON 
support.  But I cannot find a "REST API" module.

I also saw a rewriting lab PDF from the User Conference that indicated the 
existence of a rest.xqy module that defines rest:rewrite().  But I cannot find 
any such module in my 4.2 installation.  Can anyone point me to more 
information about the "REST API".

TIA!

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

Reply via email to