Re: CreateCursorRequest on Library does not return cursor
There is not cursor support on libraries.
There is none planned.
The best work around I have so far is to use
getItemsRequest and filter on a range of
document numbers.
>>> On Wednesday, September 30, 2009 at 4:46 AM,
johanvz<johanvz@no-mx.forums.novell.com> wrote:
> Hi
>
> I am implementing a cursor that filters for documents in a library. The
> status code is 0, but there is no cursor value.
> I am using the latest client schemas and the server is 8.0.1 on SLES.
>
> Here is my request and response:
>
> <SOAP‑ENV:Body><ns4:createCursorRequest>
> <ns4:container>NetCB.NetCBPO.NetCBLIB@67</ns4:container>
> <ns4:filter>
> <ns3:element xsi:type="ns3:FilterGroup">
> <ns3:op>or</ns3:op>
> <ns3:element xsi:type="ns3:FilterEntry">
> <ns3:op>contains</ns3:op>
> <ns3:field>subject</ns3:field>
> <ns3:value>Test</ns3:value>
> </ns3:element>
> <ns3:element xsi:type="ns3:FilterGroup">
> <ns3:op>and</ns3:op>
> <ns3:element xsi:type="ns3:FilterEntry">
> <ns3:op>eq</ns3:op>
> <ns3:field>@type</ns3:field>
> <ns3:value>Document</ns3:value>
> </ns3:element>
> </ns3:element>
> </ns3:element>
> </ns4:filter>
> </ns4:createCursorRequest>
> </SOAP‑ENV:Body>
>
>
> The response:
> <gwm:createCursorResponse
> xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events">
> <gwm:status>
> <gwt:code>0</gwt:code>
> </gwm:status>
> </gwm:createCursorResponse>
> </SOAP‑ENV:Body></SOAP‑ENV:Envelope>
>
>
> What am I missing?
>
>
> Thank you
> Johan
|