Re: Exist REST Problems
Posted by
Alessandro Vernet on
URL: https://discuss.orbeon.com/Exist-REST-Problems-tp31201p31227.html
As a follow-up on this issue, a work-around is to create a service (XPL declared in page-flow.xpl) which makes the query to eXist using the URL generator. With the URL generator you can use <force-content-type>true</force-content-type>, thus forcing the result to be considered as application/xml even if eXist incorrectly says it is text/html. Here is the pipeline I used:
exist-query.xplAnd in page-flow.xml, I have:
<page path-info="/common/exist/*" matcher="oxf:glob-matcher" view="/common/exist-query.xpl"/>
Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/