Hi,
I'am trying to read all items in the System Address Book using cursors
as suggested in this forum. Everything is fine except when I try to read
from System Address Book - I'am getting status code 0 but no items.
When I tried to read items from other folders (messages) or personal
address book, then it worked and items were being returned as expected.

Here is the SOAP trace:


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns0="http://schemas.novell.com/2005/01/GroupWise/methods">
<env:Header>
<ans1:session
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">NasPOvNdEGrCajG7</ans1:session>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<ns0:createCursorRequest>
<ns0:container>GroupWiseSystemAddressBook@52</ns0:container>
</ns0:createCursorRequest>
</env:Body>
</env:Envelope>


<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<gwm:createCursorResponse
xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
<gwm:cursor>-39231603</gwm:cursor>
<gwm:status>
<gwt:code>0</gwt:code>
</gwm:status>
</gwm:createCursorResponse>
</env:Body>
</env:Envelope>

<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns0="http://schemas.novell.com/2005/01/GroupWise/methods">
<env:Header>
<ans1:session
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">NasPOvNdEGrCajG7</ans1:session>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<ns0:positionCursorRequest>
<ns0:container>GroupWiseSystemAddressBook@52</ns0:container>
<ns0:cursor>-39231603</ns0:cursor>
<ns0:seek>start</ns0:seek>
<ns0:offset>0</ns0:offset>
</ns0:positionCursorRequest>
</env:Body>
</env:Envelope>

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<gwm:positionCursorResponse
xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
<gwm:status>
<gwt:code>0</gwt:code>
</gwm:status>
</gwm:positionCursorResponse>
</env:Body>
</env:Envelope>

<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns0="http://schemas.novell.com/2005/01/GroupWise/methods">
<env:Header>
<ans1:session
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">NasPOvNdEGrCajG7</ans1:session>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<ns0:readCursorRequest>
<ns0:container>GroupWiseSystemAddressBook@52</ns0:container>
<ns0:cursor>-39231603</ns0:cursor>
<ns0:forward>true</ns0:forward>
<ns0:position>current</ns0:position>
<ns0:count>5</ns0:count>
</ns0:readCursorRequest>
</env:Body>
</env:Envelope>


<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<ans1:gwTrace
xmlns:ans1="http://schemas.novell.com/2005/01/GroupWise/types">false</ans1:gwTrace>
</env:Header>
<env:Body>
<gwm:readCursorResponse
xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">
<gwm:items />
<gwm:status>
<gwt:code>0</gwt:code>
</gwm:status>
</gwm:readCursorResponse>
</env:Body>
</env:Envelope>

I'am using GW 8.0.0 on Linux (OES).

I don't want to pull entire address book using getItemsRequest.
Can anybody help me please ?

Petr