带有ML Rest客户端API的Marklogic DHF接收

时间:2018-11-13 15:34:12

标签: marklogic-9 marklogic-dhf

我正在使用以下URL调用摄取流

http://10.239.11.100:8010/v1/documents?uri=/cortellis/company/13601.xml&transform=ml:inputFlow&trans:entity-name=cortellis-company&trans:flow-name=input-company-cortellis&trans:flow-type=input&trans:job-id="nifi-ingest"&collection="cortellis,http://test.com/company"&perm:rest-reader=read&perm:rest-writer=update

我收到以下错误

    "errorResponse": {
        "statusCode": 400,
        "status": "Bad Request",
        "messageCode": "RESTAPI-INVALIDREQ",
        "message": "RESTAPI-INVALIDREQ: (err:FOER0000) Invalid request:  reason: Extension ml:inputFlow or a dependency does not exist: XDMP-MODNOTFOUND: (err:XQST0059) Module /com.marklogic.hub/config.xqy not found"
    }
}

根据文档transform:ml:inputFlow ..那么,我在这里做错了什么?

ML version : 9.0-6
DHF Version : 2.0.4

0 个答案:

没有答案