marklogic - Creating WebDAV server using mlGradle - Stack Overflow

I am in the process of setting up a WebDav server using mlGradle with the following payload:{"ser

I am in the process of setting up a WebDav server using mlGradle with the following payload:

{
  "server-name": "%%NAME%%-webdav",
  "group-name": "%%GROUP%%",
  "content-database": "%%DATABASE%%",
  "server-type": "webdav",
  "enabled": true,
  "root": "/",
  "port":  8099,
  "authentication": "digest"
}

However, I encounter the following error when executing mlDeploy:

* What went wrong:
Execution failed for task ':mlDeployApp'.
> 400 Bad Request: "{"errorResponse":{"statusCode":"400", "status":"Bad Request", "messageCode":"MANAGE-INVALIDPAYLOAD", "message":"MANAGE-INVALIDPAYLOAD: (err:FOER0000) Payload has errors in structure, content-type or values. Server database missing."}}"

Could someone help me in resolving this issue?

I am in the process of setting up a WebDav server using mlGradle with the following payload:

{
  "server-name": "%%NAME%%-webdav",
  "group-name": "%%GROUP%%",
  "content-database": "%%DATABASE%%",
  "server-type": "webdav",
  "enabled": true,
  "root": "/",
  "port":  8099,
  "authentication": "digest"
}

However, I encounter the following error when executing mlDeploy:

* What went wrong:
Execution failed for task ':mlDeployApp'.
> 400 Bad Request: "{"errorResponse":{"statusCode":"400", "status":"Bad Request", "messageCode":"MANAGE-INVALIDPAYLOAD", "message":"MANAGE-INVALIDPAYLOAD: (err:FOER0000) Payload has errors in structure, content-type or values. Server database missing."}}"

Could someone help me in resolving this issue?

Share Improve this question asked Mar 23 at 8:43 marklogic_codermarklogic_coder 1,5309 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

I spent some time reviewing the MarkLogic code and discovered a section where the "webDAV" server needs the modules database to be configured. I can't believe I overlooked that; it was a simple error.

Upon reviewing these lines in MarkLogic, I adjusted my payload accordingly, and it was successful.

Updated Payload is :

{
  "server-name": "%%NAME%%-webdav",
  "group-name": "%%GROUP%%",
  "modules-database": "%%MODULES_DATABASE%%",
  "server-type": "webdav",
  "enabled": true,
  "root": "/",
  "port":  8099,
  "authentication": "digest"
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744292757a4567113.html

相关推荐

  • marklogic - Creating WebDAV server using mlGradle - Stack Overflow

    I am in the process of setting up a WebDav server using mlGradle with the following payload:{"ser

    7天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信