Hi, all!
i'm trying to submit a GetDistributionListMembersRequest request, but no matter what i feed it i get service.UNKNOWN_DOCUMENT as my response. i'm using Zimbra 7.1.1 and GDLMR is not listed as being deprecated in the docs in have.
From what i can glean from the sparse documentation, UNKNOWN_DOCUMENT is referring to the GDLMR request itself, as opposed to the mailing list parameter sent via the request.
Request:
Code:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<userAgent name="ConsolZimbraClient" version="0.0.0.1-alphalpha"/>
<authToken>0_...</authToken>
</context>
</soap:Header>
<soap:Body>
<GetDistributionListMembersRequest limit="0" offset="0">
<dl>some-mailing-list@consol.de</dl>
</GetDistributionListMembersRequest>
</soap:Body>
</soap:Envelope> Response:
Code:
<soap:Fault><soap:Code><soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>unknown document: GetDistributionListMembersRequest</soap:Text></soap:Reason><soap:Detail><Error xmlns="urn:zimbra"><Code>service.UNKNOWN_DOCUMENT</Code><Trace>com.zimbra.common.service.ServiceException: unknown document: GetDistributionListMembersRequest
ExceptionId:btpool0-39953://zimbra.consol.de/service/soap:1317207223221:f982653a0e9f1259
Code:service.UNKNOWN_DOCUMENT
at com.zimbra.common.service.ServiceException.UNKNOWN_DOCUMENT(ServiceException.java:262)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:343)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:287)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:294)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at com.zimbra.cs.servlet.ZimbraServlet.s
The docs i have for this request type are (in their entirety):
Code:
<GetDistributionListMembersRequest [limit="{limit}"] [offset="{offset}"]>
<dl>{dl-name}</dl>
</GetDistributionListMembersRequest>
<GetDistributionListMembersResponse more="{more-flag}" [total="{total}"]>
<dlm>{member email}</dlm>+
</GetDistributionListMembersResponse>
Notes:
limit - the number of members to return (0 is default and means all)
offset - the starting offset (0, 25, etc)
more-flag = true if more members left to return
total = total number of distribution lists (not affected by limit/offset) Any ideas on how i can work around this? (Or is there a different/better way to get the list of members for a given distribution list?)
:-?