[oXygen-user] XQuery using Oxygen to MarkLogic server
Sorin Ristache
Fri Mar 6 07:30:52 CST 2009
You have to configure a MarkLogic connection between Oxygen and the XDBC
server of MarkLogic that also serves the file that you accessed through
the WebDAV server. Use the URL of the XDBC resource, not the WebDAV one.
That is locate the file in the Database Explorer view by browsing
through the XDBC connection, not the WebDAV connection and copy and
paste the URL of the XDBC resource.
The XDBC server and the WebDAV server are managed as different app
servers in the MarkLogic admninistration console.
The Oxygen User Manual describes the steps for creating a MarkLogic
connection in Oxygen:
http://www.oxygenxml.com/doc/ug-oxygen/configure-marklogic-connection.html
Regards,
Sorin
Lee, David wrote:
> I’ve tried the forum but so far am not successful. Maybe someone on
> this list has an idea I could try.
>
>
>
>
>
> I'm trying to run an XQuery against a marklogic server.
> I've setup the connection, can browse the DB with DatabaseExplorer (WebDav),
> I stored a trivial xquery file and tried to execute it.
> No matter what I do I get errors from the marklogic server.
> I think I need to put something magic in the "XQuery URL" field but I
> have no idea what. If I use
>
> ${currentFileURL}
>
> I get the error from the server:
>
> SystemID: http://DLEE@localhost:8004/xquery/dxtest1.xquery
> Engine name: MarkLogic
> Severity: error
> Description: Query evaluation request rejected (404, Not Found). Is this
> an XDBC server?
>
> So I think that MarkLogic doesnt want to use the WebDav connection for
> its URL to the query.
>
> I've tried explictly usin the "browse remote" path or what I think is
> the path
>
> http://DLEE:******@localhost:8004/xquery/dxtest1.xquery
>
> Same error
> I changed the path to be port 8002 which the XDBC driver runs on
>
>
>
>
> SystemID: http://DLEE@localhost:8004/xquery/dxtest1.xquery
> Engine name: MarkLogic
> Severity: error
> Description: 404 Not Found for: http://localhost:8002/xquery/dxtest1.xquery
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------
>
> David A. Lee
>
> Senior Principal Software Engineer
>
> Epocrates, Inc.
>
> <mailto:>
>
> 812-482-5224
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list