这是我在MarkLogic 8中的REST端点出错之后的184行长错误日志。这个日志行集合中有什么可以帮我查明实际问题吗?
以下行似乎是一条消息,试图解释出现了什么问题,但无论我搞砸了什么,这条消息总是一样的。
单行
Status 500: RESTAPI-INVALIDRESULT: (err:FOER0000) Invalid result: reason: soap2 extension produced 0 results and 1 mime types: POST
我也遵循了几个'line'和'column'组合,但它们没有指向我的REST扩展(.sjs文件)。
记录
2015-07-29 19:10:03.607 Info: [Event:id=dikw-post] username test
2015-07-29 19:10:03.608 Info: [Event:id=dikw-post] language nl
2015-07-29 19:10:03.608 Info: [Event:id=dikw-post] application testapp
2015-07-29 19:10:03.609 Info: [Event:id=dikw-post] trackingNumbers testTrack01
2015-07-29 19:10:03.610 Info: [Event:id=dikw-post] Tracking testTrack01
2015-07-29 19:10:03.611 Info: [Event:id=dikw-post] Post took PT0.014765S
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: RESTAPI-INVALIDRESULT: (err:FOER0000) Invalid result: reason: soap2 extension produced 0 results and 1 mime types: POST
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in /MarkLogic/rest-api/models/resource-model-common.xqy, at 105:13,
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in rsrcmodcom:collect-documents("POST", "soap2", map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>), ()) [1.0-ml]
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $resource-name = "POST"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $method = "soap2"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $context = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $results = ()
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $result-count = xs:unsignedLong("0")
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $output-types = "application/xml"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $output-types = "application/xml"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $output-count = xs:unsignedLong("1")
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $boundary = ()
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in /MarkLogic/rest-api/models/resource-model-query.xqy, at 252:19,
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in rsrcmodqry:resource-post("soap2", map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>), map:map(), document{text{"<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soa..."}}, fn:false(), local:rsrcmod-callback#6) [1.0-ml]
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $resource-name = "soap2"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $context = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $resource-params = map:map()
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $input = document{text{"<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soa..."}}
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $in-txn = fn:false()
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $responder = local:rsrcmod-callback#6
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $service = xdmp:function(fn:QName("http://marklogic.com/rest-api/resource/soap2","post"), "/marklogic.rest.resource/soap2/assets/resource.xqy")
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in /MarkLogic/rest-api/models/resource-model-query.xqy, at 219:4,
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in rsrcmodqry:exec-post(map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>), map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>), document{text{"<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soa..."}}, local:rsrcmod-callback#6) [1.0-ml]
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $headers = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $endpoint-params = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $input = document{text{"<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soa..."}}
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $responder = local:rsrcmod-callback#6
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: in /MarkLogic/rest-api/endpoints/resource-service-query.xqy, at 65:8 [1.0-ml]
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $params = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $headers = map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>)
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $method = "POST"
2015-07-29 19:10:03.619 Notice: dikw-pddd-soap: $body = document{text{"<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soa..."}}
2015-07-29 19:10:03.796 Info: dikw-pddd-soap: Status 500: RESTAPI-INVALIDRESULT: (err:FOER0000) Invalid result: reason: soap2 extension produced 0 results and 1 mime types: POST
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:error xsi:schemaLocation="http://marklogic.com/xdmp/error error.xsd" xmlns:error="http://marklogic.com/xdmp/error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:code>RESTAPI-INVALIDRESULT</error:code>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name>err:FOER0000</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:xquery-version>1.0-ml</error:xquery-version>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:message>Invalid result: </error:message>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:format-string>RESTAPI-INVALIDRESULT: (err:FOER0000) Invalid result: reason: soap2 extension produced 0 results and 1 mime types: POST</error:format-string>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:retryable>false</error:retryable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:expr> </error:expr>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:data>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:datum>soap2 extension produced 0 results and 1 mime types: POST</error:datum>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:data>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:stack>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:uri>/MarkLogic/rest-api/models/resource-model-common.xqy</error:uri>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:line>105</error:line>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:column>13</error:column>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:operation>rsrcmodcom:collect-documents("POST", "soap2", map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>), ())</error:operation>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">resource-name</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"POST"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">method</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"soap2"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">context</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">results</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>()</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">result-count</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>xs:unsignedLong("0")</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">output-types</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"application/xml"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">output-types</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"application/xml"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">output-count</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>xs:unsignedLong("1")</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-common">boundary</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>()</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:xquery-version>1.0-ml</error:xquery-version>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:uri>/MarkLogic/rest-api/models/resource-model-query.xqy</error:uri>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:line>252</error:line>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:column>19</error:column>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:operation>rsrcmodqry:resource-post("soap2", map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>), map:map(), document{text{"&lt;soap:Envelope xmlns:soap=&quot;http://www.w3.org/2003/05/soa..."}}, fn:false(), local:rsrcmod-callback#6)</error:operation>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">resource-name</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"soap2"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">context</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="output-status"><map:value xsi:type="xs:integer">...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">resource-params</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map()</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">input</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>document{text{"&lt;soap:Envelope xmlns:soap=&quot;http://www.w3.org/2003/05/soa..."}}</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">in-txn</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>fn:false()</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">responder</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>local:rsrcmod-callback#6</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">service</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>xdmp:function(fn:QName("http://marklogic.com/rest-api/resource/soap2","post"), "/marklogic.rest.resource/soap2/assets/resource.xqy")</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:xquery-version>1.0-ml</error:xquery-version>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:uri>/MarkLogic/rest-api/models/resource-model-query.xqy</error:uri>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:line>219</error:line>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:column>4</error:column>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:operation>rsrcmodqry:exec-post(map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>), map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>), document{text{"&lt;soap:Envelope xmlns:soap=&quot;http://www.w3.org/2003/05/soa..."}}, local:rsrcmod-callback#6)</error:operation>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">headers</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">endpoint-params</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">input</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>document{text{"&lt;soap:Envelope xmlns:soap=&quot;http://www.w3.org/2003/05/soa..."}}</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="http://marklogic.com/rest-api/models/resource-model-query">responder</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>local:rsrcmod-callback#6</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:xquery-version>1.0-ml</error:xquery-version>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:uri>/MarkLogic/rest-api/endpoints/resource-service-query.xqy</error:uri>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:line>65</error:line>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:column>8</error:column>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="">params</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="name"><map:value xsi:type="xs:string">soap2</map...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="">headers</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>map:map(<map:map xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://marklogic.com/xdmp/map"><map:entry key="accept-language"><map:value xsi:type="xs:string"...</map:map>)</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="">method</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>"POST"</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:name xmlns="">body</error:name>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:value>document{text{"&lt;soap:Envelope xmlns:soap=&quot;http://www.w3.org/2003/05/soa..."}}</error:value>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variable>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:variables>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: <error:xquery-version>1.0-ml</error:xquery-version>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:frame>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:stack>
2015-07-29 19:10:03.797 Debug: dikw-pddd-soap: </error:error>
详情
假设我在我的脚本中输入错字,'错误'日志会帮我找到这个拼写错误吗?或者它只是通过告诉我答案是空的来告诉我“有问题”。
答案 0 :(得分:1)
您的资源扩展必须在上下文映射的output-types项中返回与mime类型相同数量的文档:
http://docs.marklogic.com/guide/rest-dev/extensions
错误表示扩展名正在声明mime类型但未返回文档。
希望有帮助,
答案 1 :(得分:1)
简而言之,您的REST扩展不会返回输出,而它至少需要一些东西。这不是因为拼写错误(您在部署时会看到编译错误),而是代码中的逻辑错误。
获取相应扩展方法函数的主体,并在QC中运行它以隔离问题..
HTH!