Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Absent Member.
Absent Member.
1361 views

getItemsRequest does not return items

I want to get "modified" field from contacts inside System Address Book.
I am passing <id>s of items, but SOAP response return none of them, just <status>0</status>...
(for other address books (e.g. Frequent Contacts) SOAP call returned items.)

Request:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:m="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:e="http://schemas.novell.com/2005/01/GroupWise/events" xsl:version="1.0">
<soap:Header>
<gwTrace>true</gwTrace>
<session>QHURd0P6WmGweAfF</session>
</soap:Header>
<soap:Body>
<m:getItemsRequest>
<m:view>modified</m:view>
<m:filter>
<types:element xsi:type="types:FilterEntry">
<types:op>eq</types:op>
<types:field>@type</types:field>
<types:value>Contact</types:value>
</types:element>
</m:filter>
<m:items>
<types:item>8306F010-102E-0000-8A13-11301137C2D0@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>291B0D00-0F7C-0000-B9E4-820DACBE666D@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>A19C7D80-1775-0000-8946-9CF8DD4CDB59@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>276B7720-1430-0000-9BDC-016E1ADCA6DE@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>D9E3E920-0AC4-0000-A94A-CD8B183F8ED9@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>A74E0DD0-1599-0000-9DBD-1F7BAD844149@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>ADED3EC0-0A83-0000-8CD2-914281038280@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>0DAF3890-1146-0000-AE8A-4429BC84482F@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>1CDB0A60-1146-0000-AE8A-4429BC84482F@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>2B5DA3E0-1146-0000-AE8A-4429BC84482F@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>FDFFCA60-10EE-0000-AE8A-4429BC84482F@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>39FA5510-1146-0000-AE8A-4429BC84482F@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>5CFF5990-0460-0000-95F9-8BC3B897E802@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>845C7310-10E0-0000-8FE9-D90B75A2EA60@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>A889BDD0-1728-0000-95F8-8BC3B897E802@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>94C0C400-0F63-0000-AD75-EDE2CA51C55D@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>3BDBC870-09B5-0000-BCD5-7DF89C9130F7@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>1D1A1D90-10F6-0000-8254-743FB6952200@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>B956B240-10E2-0000-8FE9-D90B75A2EA60@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>56F58650-10E0-0000-8FE9-D90B75A2EA60@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>DDCB0BB0-1346-0000-ABCF-1E6DD29000B9@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>E8370B80-1346-0000-ABCF-1E6DD29000B9@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>45B74500-0F7C-0000-B9E4-820DACBE666D@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>871F9CA0-10DE-0000-8FE9-D90B75A2EA60@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>BDFF45F0-02F0-0000-9C81-ABBFA40F64CC@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>FB8751B0-0C4B-0000-B79B-AE3BEF723457@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>91EFF530-0C4C-0000-B79B-AE3BEF723457@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>FB1099E0-0EA2-0000-BFB7-FFFDB456085C@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>A682FB60-0EA3-0000-BFB7-FFFDB456085C@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>3F18B3C0-1033-0000-A6FD-B20A7ED05DF8@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>48F803F0-1033-0000-A6FD-B20A7ED05DF8@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>7F2252F0-0DA9-0000-9B1B-325FE8AE4420@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>4EA81680-0F7C-0000-B9E4-820DACBE666D@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>E2A2BEB0-0F65-0000-886C-6E1A2C36207B@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>8BC403C0-1586-0000-8A1F-DC380BA9725B@56:GroupWiseSystemAddressBook@52</types:item>
<types:item>5EE914B0-1033-0000-A6FD-B20A7ED05DF8@56:GroupWiseSystemAddressBook@52</types:item>
</m:items>
</m:getItemsRequest>
</soap:Body>
</soap:Envelope>


Response:

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xsl:version="1.0" xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> </soap:Header> <soap:Body> <gwm:getItemsResponse 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:items/>
<gwm:status><gwt:code>0</gwt:code></gwm:status>
</gwm:getItemsResponse> </soap:Body> </soap:Envelope>
Labels (1)
0 Likes
1 Reply
Absent Member.
Absent Member.

I found a solution!
Instead of filter in request I need to pass <container> parameter.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.