Zimbra SOAP SearchRequest返回未知文档错误

Zimbra SOAP SearchRequest返回未知文档错误,soap,zimbra,Soap,Zimbra,我正在尝试发送SearchRequest以在邮箱中查找我需要的内容。但是,我不断得到未知文档错误 POST /service/soap HTTP/1.1 SOAPAction: "" Content-Type: text/xml;charset="utf-8" Accept: text/xml Host: 192.168.138.133 Content-Length: 514 Expect: 100-continue <soap:Envelope xmlns:soap="http://w

我正在尝试发送
SearchRequest
以在邮箱中查找我需要的内容。但是,我不断得到
未知文档
错误

POST /service/soap HTTP/1.1
SOAPAction: ""
Content-Type: text/xml;charset="utf-8"
Accept: text/xml
Host: 192.168.138.133
Content-Length: 514
Expect: 100-continue

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Header>
    <authToken>%token acquired from AuthRequest%</authToken>
    <context xmlns="urn:zimbra" />
  </soap:Header>
  <soap:Body>
    <SearchRequest xlmns="urn:zimbraMail">
      <query>is:unread</query>
    </SearchRequest>
  </soap:Body>
</soap:Envelope>
POST/service/soap HTTP/1.1
SOAPAction:“
内容类型:text/xml;charset=“utf-8”
接受:text/xml
主持人:192.168.138.133
内容长度:514
预期:100人继续

表示名称空间应该是
zimbraMail
。但我还是不断地发现错误。

标题中不应该有会话吗?(内部上下文)

试试看

<soap:Header>
    <context xmlns="urn:zimbra" >
          <authToken>%token acquired from AuthRequest%</authToken>
    </context>
  </soap:Header>

%从AuthRequest%获取的令牌

当我发送
AuthRequest
时,它不会向我返回会话。只有一个
authToken
。您解决了这个问题吗?