Anonymous_User Absent Member.
Absent Member.
1541 views

(GW8) Appointment.contacts container not returning

Hi,

I am trying to retrieve the list of contacts associated with calendar items (presumably could be done with any item, as the "contacts" container is actually in the BoxEntry class).

However, the .contacts object is always "null" when the item is returned. Examining the XML, this is because the .contacts container is not being returned by the POA.

Is there a special way to request that the .contacts container be returned?

Below is a sample of the getItemsRequest() XML that is sent when I request the items. (The container ID is for my calendar folder.)

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:gwTrace xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types" xmlns="http://schemas.novell.com/2005/01/GroupWise/types">false</h:gwTrace>
<h:session xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types" xmlns="http://schemas.novell.com/2005/01/GroupWise/types">rvTxVoiYEPrJdOZS</h:session>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<getItemsRequest xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
<container>A.PriDom.po1.100.0.1.0.1@19</container>
<count>-1</count>
</getItemsRequest>
</s:Body>
</s:Envelope>

Here is a sample of an item that is returned, which should have a list of associated contacts (i.e. there are contacts associated with this item in the mailbox):


<gwt:item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="gwt:Appointment">
<gwt:id>49C8AC14.PriDom.po1.100.1353763.1.21E.1@4:A.PriDom.po1.100.0.1.0.1@19</gwt:id>
<gwt:version>3</gwt:version>
<gwt:modified>2009-03-25T03:14:22Z</gwt:modified>
<gwt:container>A.PriDom.po1.100.0.1.0.1@19</gwt:container>
<gwt:created>2009-03-24T15:47:00Z</gwt:created>
<gwt:status>
<gwt:accepted>1</gwt:accepted>
<gwt:opened>1</gwt:opened>
<gwt:read>1</gwt:read>
</gwt:status>
<gwt:msgId>49C8AC14.PriDom.po1.100.1353763.1.21E.1</gwt:msgId>
<gwt:source>personal</gwt:source>
<gwt:delivered>2009-03-24T15:47:00Z</gwt:delivered>
<gwt:security>Normal</gwt:security>
<gwt:subject>test6</gwt:subject>
<gwt:distribution>
<gwt:from>
<gwt:displayName>admin</gwt:displayName>
<gwt:email>Admin@gw8.concentrico.net</gwt:email>
<gwt:uuid>59E821C0-0932-0000-81E4-66DA3F7ED7F2</gwt:uuid>
</gwt:from>
<gwt:sendoptions>
<gwt:statusTracking>All</gwt:statusTracking>
</gwt:sendoptions>
</gwt:distribution>
<gwt:options>
<gwt:priority>Standard</gwt:priority>
</gwt:options>
<gwt:size>638</gwt:size>
<gwt:iCalId>2009-03-24T15:47:00Z_8DA000FE@gw8.concentrico.net</gwt:iCalId>
<gwt:startDate>2009-03-30T14:00:00Z</gwt:startDate>
<gwt:endDate>2009-03-30T15:00:00Z</gwt:endDate>
<gwt:acceptLevel>Busy</gwt:acceptLevel>
<gwt:alarm enabled="1">300</gwt:alarm>
<gwt:timezone>
<gwt:daylight>
<gwt:name>Mountain Daylight Time</gwt:name>
<gwt:month>3</gwt:month>
<gwt:dayOfWeek occurrence="Second">Sunday</gwt:dayOfWeek>
<gwt:hour>0</gwt:hour>
<gwt:minute>0</gwt:minute>
<gwt:offset>-21600</gwt:offset>
</gwt:daylight>
<gwt:standard>
<gwt:name>Mountain Standard Time</gwt:name>
<gwt:month>11</gwt:month>
<gwt:dayOfWeek occurrence="First">Sunday</gwt:dayOfWeek>
<gwt:hour>0</gwt:hour>
<gwt:minute>0</gwt:minute>
<gwt:offset>-25200</gwt:offset>
</gwt:standard>
</gwt:timezone>
</gwt:item>

Any ideas?

Thanks.

--sk.
Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: (GW8) Appointment.contacts container not returning

The only thing I can see that restricts it is that you
have to be using the 8.0.0 schema (which means you have
to login with "1.02" in the version element). At least
that is all that I did to get them to return.

Preston

>>> On Tuesday, March 24, 2009 at 9:55 PM, Sean

Kirkby<skirkby@armordatasystems.com> wrote:
> Hi,
>
> I am trying to retrieve the list of contacts associated with calendar

items
> (presumably could be done with any item, as the "contacts" container is
> actually in the BoxEntry class).
>
> However, the .contacts object is always "null" when the item is returned.


> Examining the XML, this is because the .contacts container is not being
> returned by the POA.
>
> Is there a special way to request that the .contacts container be

returned?
>
> Below is a sample of the getItemsRequest() XML that is sent when I request


> the items. (The container ID is for my calendar folder.)
>
> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
> <s:Header>
> <h:gwTrace xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"


>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">false</h:gwTrace>
> <h:session xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"


>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">rvTxVoiYEPrJdOZS</
h:s
> ession>
> </s:Header>
> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <getItemsRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
> <container>A.PriDom.po1.100.0.1.0.1@19</container>
> <count>-1</count>
> </getItemsRequest>
> </s:Body>
> </s:Envelope>
>
> Here is a sample of an item that is returned, which should have a list of


> associated contacts (i.e. there are contacts associated with this item in

the
> mailbox):
>
>
> <gwt:item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="gwt:Appointment">
>
>

<gwt:id>49C8AC14.PriDom.po1.100.1353763.1.21E.1@4:A.PriDom.po1.100.0.1.0.1@1
9<
> /gwt:id>
> <gwt:version>3</gwt:version>
> <gwt:modified>2009-03-25T03:14:22Z</gwt:modified>
> <gwt:container>A.PriDom.po1.100.0.1.0.1@19</gwt:container>
> <gwt:created>2009-03-24T15:47:00Z</gwt:created>
> <gwt:status>
> <gwt:accepted>1</gwt:accepted>
> <gwt:opened>1</gwt:opened>
> <gwt:read>1</gwt:read>
> </gwt:status>
> <gwt:msgId>49C8AC14.PriDom.po1.100.1353763.1.21E.1</gwt:msgId>
> <gwt:source>personal</gwt:source>
> <gwt:delivered>2009-03-24T15:47:00Z</gwt:delivered>
> <gwt:security>Normal</gwt:security>
> <gwt:subject>test6</gwt:subject>
> <gwt:distribution>
> <gwt:from>
> <gwt:displayName>admin</gwt:displayName>
> <gwt:email>Admin@gw8.concentrico.net</gwt:email>
> <gwt:uuid>59E821C0-0932-0000-81E4-66DA3F7ED7F2</gwt:uuid>
> </gwt:from>
> <gwt:sendoptions>
> <gwt:statusTracking>All</gwt:statusTracking>
> </gwt:sendoptions>
> </gwt:distribution>
> <gwt:options>
> <gwt:priority>Standard</gwt:priority>
> </gwt:options>
> <gwt:size>638</gwt:size>
>
><gwt:iCalId>2009-03-24T15:47:00Z_8DA000FE@gw8.concentrico.net</gwt:iCalId>
> <gwt:startDate>2009-03-30T14:00:00Z</gwt:startDate>
> <gwt:endDate>2009-03-30T15:00:00Z</gwt:endDate>
> <gwt:acceptLevel>Busy</gwt:acceptLevel>
> <gwt:alarm enabled="1">300</gwt:alarm>
> <gwt:timezone>
> <gwt:daylight>
> <gwt:name>Mountain Daylight Time</gwt:name>
> <gwt:month>3</gwt:month>
> <gwt:dayOfWeek occurrence="Second">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-21600</gwt:offset>
> </gwt:daylight>
> <gwt:standard>
> <gwt:name>Mountain Standard Time</gwt:name>
> <gwt:month>11</gwt:month>
> <gwt:dayOfWeek occurrence="First">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-25200</gwt:offset>
> </gwt:standard>
> </gwt:timezone>
> </gwt:item>
>
> Any ideas?
>
> Thanks.
>
> --sk.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: (GW8) Appointment.contacts container not returning

Thanks, Preston. That fixed it.

--sk.


>>> On 3/25/2009 at 4:47 AM, Preston Stephenson<PStephenson@gw.novell.com> wrote:


The only thing I can see that restricts it is that you
have to be using the 8.0.0 schema (which means you have
to login with "1.02" in the version element). At least
that is all that I did to get them to return.

Preston


>>> On Tuesday, March 24, 2009 at 9:55 PM, Sean

Kirkby<skirkby@armordatasystems.com> wrote:

> Hi,
>
> I am trying to retrieve the list of contacts associated with calendar

items

> (presumably could be done with any item, as the "contacts" container is
> actually in the BoxEntry class).
>
> However, the .contacts object is always "null" when the item is returned.



> Examining the XML, this is because the .contacts container is not being
> returned by the POA.
>
> Is there a special way to request that the .contacts container be

returned?

>
> Below is a sample of the getItemsRequest() XML that is sent when I request



> the items. (The container ID is for my calendar folder.)
>
> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
> <s:Header>
> <h:gwTrace xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"



>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">false</h:gwTrace>

> <h:session xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"



>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">rvTxVoiYEPrJdOZS</
h:s

> ession>
> </s:Header>
> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <getItemsRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
> <container>A.PriDom.po1.100.0.1.0.1@19</container>
> <count>-1</count>
> </getItemsRequest>
> </s:Body>
> </s:Envelope>
>
> Here is a sample of an item that is returned, which should have a list of



> associated contacts (i.e. there are contacts associated with this item in

the

> mailbox):
>
>
> <gwt:item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="gwt:Appointment">
>
>

<gwt:id>49C8AC14.PriDom.po1.100.1353763.1.21E.1@4:A.PriDom.po1.100.0.1.0.1@1
9<

> /gwt:id>
> <gwt:version>3</gwt:version>
> <gwt:modified>2009-03-25T03:14:22Z</gwt:modified>
> <gwt:container>A.PriDom.po1.100.0.1.0.1@19</gwt:container>
> <gwt:created>2009-03-24T15:47:00Z</gwt:created>
> <gwt:status>
> <gwt:accepted>1</gwt:accepted>
> <gwt:opened>1</gwt:opened>
> <gwt:read>1</gwt:read>
> </gwt:status>
> <gwt:msgId>49C8AC14.PriDom.po1.100.1353763.1.21E.1</gwt:msgId>
> <gwt:source>personal</gwt:source>
> <gwt:delivered>2009-03-24T15:47:00Z</gwt:delivered>
> <gwt:security>Normal</gwt:security>
> <gwt:subject>test6</gwt:subject>
> <gwt:distribution>
> <gwt:from>
> <gwt:displayName>admin</gwt:displayName>
> <gwt:email>Admin@gw8.concentrico.net</gwt:email>
> <gwt:uuid>59E821C0-0932-0000-81E4-66DA3F7ED7F2</gwt:uuid>
> </gwt:from>
> <gwt:sendoptions>
> <gwt:statusTracking>All</gwt:statusTracking>
> </gwt:sendoptions>
> </gwt:distribution>
> <gwt:options>
> <gwt:priority>Standard</gwt:priority>
> </gwt:options>
> <gwt:size>638</gwt:size>
>
><gwt:iCalId>2009-03-24T15:47:00Z_8DA000FE@gw8.concentrico.net</gwt:iCalId>
> <gwt:startDate>2009-03-30T14:00:00Z</gwt:startDate>
> <gwt:endDate>2009-03-30T15:00:00Z</gwt:endDate>
> <gwt:acceptLevel>Busy</gwt:acceptLevel>
> <gwt:alarm enabled="1">300</gwt:alarm>
> <gwt:timezone>
> <gwt:daylight>
> <gwt:name>Mountain Daylight Time</gwt:name>
> <gwt:month>3</gwt:month>
> <gwt:dayOfWeek occurrence="Second">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-21600</gwt:offset>
> </gwt:daylight>
> <gwt:standard>
> <gwt:name>Mountain Standard Time</gwt:name>
> <gwt:month>11</gwt:month>
> <gwt:dayOfWeek occurrence="First">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-25200</gwt:offset>
> </gwt:standard>
> </gwt:timezone>
> </gwt:item>
>
> Any ideas?
>
> Thanks.
>
> --sk.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: (GW8) Appointment.contacts container not returning

FYI

Section 1.1 of the GroupWise Web Services documentation explains the different values and how they correspond to GW versions.

Tim


>>> On 3/25/2009 at 3:50 PM, in message <49CA52F1.F096.003D.1@armordatasystems.com>, Sean Kirkby<skirkby@armordatasystems.com> wrote:


Thanks, Preston. That fixed it.

--sk.


>>> On 3/25/2009 at 4:47 AM, Preston Stephenson<PStephenson@gw.novell.com> wrote:


The only thing I can see that restricts it is that you
have to be using the 8.0.0 schema (which means you have
to login with "1.02" in the version element). At least
that is all that I did to get them to return.

Preston


>>> On Tuesday, March 24, 2009 at 9:55 PM, Sean

Kirkby<skirkby@armordatasystems.com> wrote:

> Hi,
>
> I am trying to retrieve the list of contacts associated with calendar

items

> (presumably could be done with any item, as the "contacts" container is
> actually in the BoxEntry class).
>
> However, the .contacts object is always "null" when the item is returned.



> Examining the XML, this is because the .contacts container is not being
> returned by the POA.
>
> Is there a special way to request that the .contacts container be

returned?

>
> Below is a sample of the getItemsRequest() XML that is sent when I request



> the items. (The container ID is for my calendar folder.)
>
> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
> <s:Header>
> <h:gwTrace xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"



>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">false</h:gwTrace>

> <h:session xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types"



>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">rvTxVoiYEPrJdOZS</
h:s

> ession>
> </s:Header>
> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <getItemsRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
> <container>A.PriDom.po1.100.0.1.0.1@19</container>
> <count>-1</count>
> </getItemsRequest>
> </s:Body>
> </s:Envelope>
>
> Here is a sample of an item that is returned, which should have a list of



> associated contacts (i.e. there are contacts associated with this item in

the

> mailbox):
>
>
> <gwt:item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="gwt:Appointment">
>
>

<gwt:id>49C8AC14.PriDom.po1.100.1353763.1.21E.1@4:A.PriDom.po1.100.0.1.0.1@1
9<

> /gwt:id>
> <gwt:version>3</gwt:version>
> <gwt:modified>2009-03-25T03:14:22Z</gwt:modified>
> <gwt:container>A.PriDom.po1.100.0.1.0.1@19</gwt:container>
> <gwt:created>2009-03-24T15:47:00Z</gwt:created>
> <gwt:status>
> <gwt:accepted>1</gwt:accepted>
> <gwt:opened>1</gwt:opened>
> <gwt:read>1</gwt:read>
> </gwt:status>
> <gwt:msgId>49C8AC14.PriDom.po1.100.1353763.1.21E.1</gwt:msgId>
> <gwt:source>personal</gwt:source>
> <gwt:delivered>2009-03-24T15:47:00Z</gwt:delivered>
> <gwt:security>Normal</gwt:security>
> <gwt:subject>test6</gwt:subject>
> <gwt:distribution>
> <gwt:from>
> <gwt:displayName>admin</gwt:displayName>
> <gwt:email>Admin@gw8.concentrico.net</gwt:email>
> <gwt:uuid>59E821C0-0932-0000-81E4-66DA3F7ED7F2</gwt:uuid>
> </gwt:from>
> <gwt:sendoptions>
> <gwt:statusTracking>All</gwt:statusTracking>
> </gwt:sendoptions>
> </gwt:distribution>
> <gwt:options>
> <gwt:priority>Standard</gwt:priority>
> </gwt:options>
> <gwt:size>638</gwt:size>
>
><gwt:iCalId>2009-03-24T15:47:00Z_8DA000FE@gw8.concentrico.net</gwt:iCalId>
> <gwt:startDate>2009-03-30T14:00:00Z</gwt:startDate>
> <gwt:endDate>2009-03-30T15:00:00Z</gwt:endDate>
> <gwt:acceptLevel>Busy</gwt:acceptLevel>
> <gwt:alarm enabled="1">300</gwt:alarm>
> <gwt:timezone>
> <gwt:daylight>
> <gwt:name>Mountain Daylight Time</gwt:name>
> <gwt:month>3</gwt:month>
> <gwt:dayOfWeek occurrence="Second">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-21600</gwt:offset>
> </gwt:daylight>
> <gwt:standard>
> <gwt:name>Mountain Standard Time</gwt:name>
> <gwt:month>11</gwt:month>
> <gwt:dayOfWeek occurrence="First">Sunday</gwt:dayOfWeek>
> <gwt:hour>0</gwt:hour>
> <gwt:minute>0</gwt:minute>
> <gwt:offset>-25200</gwt:offset>
> </gwt:standard>
> </gwt:timezone>
> </gwt:item>
>
> Any ideas?
>
> Thanks.
>
> --sk.
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.