Deekshant
Deekshant

Reputation: 127

Calling Shell Script from xquery module in MarkLogic

Is there any direct way to execute shell scripts or linux commands from xquery in MarkLogic? Does Marklogic web server supports CGI?

Upvotes: 2

Views: 845

Answers (1)

Eric Bloch
Eric Bloch

Reputation: 2961

Today, you can't execute shell scripts or file system executables from MarkLogic nor does MarkLogic support CGI. The easiest path to such integration is to stand up a copy of an app server you are comfortable with (Java/Tomcat, ASP, PHP, and so on) and communicate between MarkLogic and that service over http.

There is an open enhancement request to support executing file system executables.

Upvotes: 2

Related Questions