martypal2005 Absent Member.
Absent Member.
1182 views

GetItemsRequest - mail item problem with gw8 beta

Hey I'm doing some testing with gw8 beta and I'm not seeing the
mail.messageId field getting returned with the following flags:
items_request.view = "default";

items_request.view += " recipients";

items_request.view += " attachments";

items_request.view += " message";

However on 7 sp1/2/3 I get this field back.

It's funny because the msgId and Id fields are set together with all the
other fields I'm expecting.


Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: GetItemsRequest - mail item problem with gw8 beta

Sorry, I was not able to reproduce the problem.

I need a sample app and SOAP trace that shows
the problem.
Here is my sample app and my SOAP trace. (I took out
a little bit of the SOAP trace for some brevity.)

private void testView()
{
vcsClient.WebReference.getItemRequest req = new
vcsClient.WebReference.getItemRequest();
vcsClient.WebReference.getItemResponse resp;
string id = (String)lvItems.SelectedItems[0].Tag;
req.view = "default";
req.view += " recipients";
req.view += " attachments";
req.view += " message";
req.id = id;
resp = ws.getItemRequest(req);
if (0 != resp.status.code)
{
System.Windows.Forms.MessageBox.Show("Error: " +
resp.status.code.ToString() + " " + resp.status.description);
}
}

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<session
xmlns="http://schemas.novell.com/2005/01/GroupWise/types">Zqa_o37U2Q9MtbTz</
session>
</soap:Header>
<soap:Body>
<getItemRequest
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">

<id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@16</
id>
<view>default recipients attachments message</view>
</getItemRequest>
</soap:Body>
</soap:Envelope>

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<getItemResponse
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
<item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="gwt:Mail">

<gwt:id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@
16</gwt:id>
<gwt:version>5</gwt:version>
<gwt:modified>2008-11-17T13:37:17Z</gwt:modified>
<gwt:container>7.domain.PO1.100.0.1.0.1@16</gwt:container>
<gwt:created>2008-10-30T11:39:14Z</gwt:created>
<gwt:status>
<gwt:accepted>1</gwt:accepted>
<gwt:opened>1</gwt:opened>
<gwt:read>1</gwt:read>
</gwt:status>
<gwt:msgId>49094882.domain.PO1.100.1776172.1.2F72.1</gwt:msgId>
<gwt:clientMessageId>49099CE2.9DF : 194 :
18298</gwt:clientMessageId>
<gwt:source>personal</gwt:source>
<gwt:delivered>2008-10-30T11:39:14Z</gwt:delivered>
<gwt:security>Normal</gwt:security>
<gwt:subject>with custom</gwt:subject>
<gwt:message>
<gwt:part contentType="text/plain" length="4">aGU=</gwt:part>
</gwt:message>
<gwt:options>
<gwt:priority>Standard</gwt:priority>
</gwt:options>
<gwt:size>259</gwt:size>
<gwt:retentionModified>2008-10-30T11:39:14Z</gwt:retentionModified>
</item>
<status>
<gwt:code>0</gwt:code>
</status>
</getItemResponse>
</soap:Body>
</soap:Envelope>


>>> On Friday, November 14, 2008 at 5:59 PM, Martin

Olsen<marty@lightspeedsystems.com> wrote:
> Hey I'm doing some testing with gw8 beta and I'm not seeing the
> mail.messageId field getting returned with the following flags:
> items_request.view = "default";
>
> items_request.view += " recipients";
>
> items_request.view += " attachments";
>
> items_request.view += " message";
>
> However on 7 sp1/2/3 I get this field back.
>
> It's funny because the msgId and Id fields are set together with all the
> other fields I'm expecting.

0 Likes
martypal2005 Absent Member.
Absent Member.

Re: GetItemsRequest - mail item problem with gw8 beta

It looks like maybe the field name is clientMessageId in 8.x and messageId
in 7.x. I'll look further into it. And I'll add the capture.

"Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
news:492113C3.07F1.0037.1@gw.novell.com...
> Sorry, I was not able to reproduce the problem.
>
> I need a sample app and SOAP trace that shows
> the problem.
> Here is my sample app and my SOAP trace. (I took out
> a little bit of the SOAP trace for some brevity.)
>
> private void testView()
> {
> vcsClient.WebReference.getItemRequest req = new
> vcsClient.WebReference.getItemRequest();
> vcsClient.WebReference.getItemResponse resp;
> string id = (String)lvItems.SelectedItems[0].Tag;
> req.view = "default";
> req.view += " recipients";
> req.view += " attachments";
> req.view += " message";
> req.id = id;
> resp = ws.getItemRequest(req);
> if (0 != resp.status.code)
> {
> System.Windows.Forms.MessageBox.Show("Error: " +
> resp.status.code.ToString() + " " + resp.status.description);
> }
> }
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <soap:Header>
> <session
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">Zqa_o37U2Q9MtbTz</
> session>
> </soap:Header>
> <soap:Body>
> <getItemRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
>
> <id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@16</
> id>
> <view>default recipients attachments message</view>
> </getItemRequest>
> </soap:Body>
> </soap:Envelope>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soap:Envelope
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header/>
> <soap:Body>
> <getItemResponse
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
> <item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="gwt:Mail">
>
> <gwt:id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@
> 16</gwt:id>
> <gwt:version>5</gwt:version>
> <gwt:modified>2008-11-17T13:37:17Z</gwt:modified>
> <gwt:container>7.domain.PO1.100.0.1.0.1@16</gwt:container>
> <gwt:created>2008-10-30T11:39:14Z</gwt:created>
> <gwt:status>
> <gwt:accepted>1</gwt:accepted>
> <gwt:opened>1</gwt:opened>
> <gwt:read>1</gwt:read>
> </gwt:status>
> <gwt:msgId>49094882.domain.PO1.100.1776172.1.2F72.1</gwt:msgId>
> <gwt:clientMessageId>49099CE2.9DF : 194 :
> 18298</gwt:clientMessageId>
> <gwt:source>personal</gwt:source>
> <gwt:delivered>2008-10-30T11:39:14Z</gwt:delivered>
> <gwt:security>Normal</gwt:security>
> <gwt:subject>with custom</gwt:subject>
> <gwt:message>
> <gwt:part contentType="text/plain" length="4">aGU=</gwt:part>
> </gwt:message>
> <gwt:options>
> <gwt:priority>Standard</gwt:priority>
> </gwt:options>
> <gwt:size>259</gwt:size>
> <gwt:retentionModified>2008-10-30T11:39:14Z</gwt:retentionModified>
> </item>
> <status>
> <gwt:code>0</gwt:code>
> </status>
> </getItemResponse>
> </soap:Body>
> </soap:Envelope>
>
>
>>>> On Friday, November 14, 2008 at 5:59 PM, Martin

> Olsen<marty@lightspeedsystems.com> wrote:
>> Hey I'm doing some testing with gw8 beta and I'm not seeing the
>> mail.messageId field getting returned with the following flags:
>> items_request.view = "default";
>>
>> items_request.view += " recipients";
>>
>> items_request.view += " attachments";
>>
>> items_request.view += " message";
>>
>> However on 7 sp1/2/3 I get this field back.
>>
>> It's funny because the msgId and Id fields are set together with all the
>> other fields I'm expecting.



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: GetItemsRequest - mail item problem with gw8 beta

clientMessageId is a new element in 8.0.0.
It represents the "Message Id" value from the properties
page in the GWClient.

messageId is the id generated by IMAP / MIME.
To get a messageId element that is not already present
on the item, you need to put "messageId" in the view.

For example, an item that comes in through GWIA should
have a messageId element.

msgId is equivalent to the CommonMessageID in the ObjectAPI.

Preston

>>> On Monday, November 17, 2008 at 10:09 AM, Martin

Olsen<marty@lightspeedsystems.com> wrote:
> It looks like maybe the field name is clientMessageId in 8.x and messageId


> in 7.x. I'll look further into it. And I'll add the capture.
>
> "Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
> news:492113C3.07F1.0037.1@gw.novell.com...
>> Sorry, I was not able to reproduce the problem.
>>
>> I need a sample app and SOAP trace that shows
>> the problem.
>> Here is my sample app and my SOAP trace. (I took out
>> a little bit of the SOAP trace for some brevity.)
>>
>> private void testView()
>> {
>> vcsClient.WebReference.getItemRequest req = new
>> vcsClient.WebReference.getItemRequest();
>> vcsClient.WebReference.getItemResponse resp;
>> string id = (String)lvItems.SelectedItems[0].Tag;
>> req.view = "default";
>> req.view += " recipients";
>> req.view += " attachments";
>> req.view += " message";
>> req.id = id;
>> resp = ws.getItemRequest(req);
>> if (0 != resp.status.code)
>> {
>> System.Windows.Forms.MessageBox.Show("Error: " +
>> resp.status.code.ToString() + " " + resp.status.description);
>> }
>> }
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>> <soap:Header>
>> <session
>>

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

>> session>
>> </soap:Header>
>> <soap:Body>
>> <getItemRequest
>> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
>>
>>

<id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@16</

>> id>
>> <view>default recipients attachments message</view>
>> </getItemRequest>
>> </soap:Body>
>> </soap:Envelope>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <soap:Envelope
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>> <soap:Header/>
>> <soap:Body>
>> <getItemResponse
>> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
>> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
>> <item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:type="gwt:Mail">
>>
>>

<gwt:id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@

>> 16</gwt:id>
>> <gwt:version>5</gwt:version>
>> <gwt:modified>2008-11-17T13:37:17Z</gwt:modified>
>> <gwt:container>7.domain.PO1.100.0.1.0.1@16</gwt:container>
>> <gwt:created>2008-10-30T11:39:14Z</gwt:created>
>> <gwt:status>
>> <gwt:accepted>1</gwt:accepted>
>> <gwt:opened>1</gwt:opened>
>> <gwt:read>1</gwt:read>
>> </gwt:status>
>> <gwt:msgId>49094882.domain.PO1.100.1776172.1.2F72.1</gwt:msgId>
>> <gwt:clientMessageId>49099CE2.9DF : 194 :
>> 18298</gwt:clientMessageId>
>> <gwt:source>personal</gwt:source>
>> <gwt:delivered>2008-10-30T11:39:14Z</gwt:delivered>
>> <gwt:security>Normal</gwt:security>
>> <gwt:subject>with custom</gwt:subject>
>> <gwt:message>
>> <gwt:part contentType="text/plain" length="4">aGU=</gwt:part>
>> </gwt:message>
>> <gwt:options>
>> <gwt:priority>Standard</gwt:priority>
>> </gwt:options>
>> <gwt:size>259</gwt:size>
>>

<gwt:retentionModified>2008-10-30T11:39:14Z</gwt:retentionModified>
>> </item>
>> <status>
>> <gwt:code>0</gwt:code>
>> </status>
>> </getItemResponse>
>> </soap:Body>
>> </soap:Envelope>
>>
>>
>>>>> On Friday, November 14, 2008 at 5:59 PM, Martin

>> Olsen<marty@lightspeedsystems.com> wrote:
>>> Hey I'm doing some testing with gw8 beta and I'm not seeing the
>>> mail.messageId field getting returned with the following flags:
>>> items_request.view = "default";
>>>
>>> items_request.view += " recipients";
>>>
>>> items_request.view += " attachments";
>>>
>>> items_request.view += " message";
>>>
>>> However on 7 sp1/2/3 I get this field back.
>>>
>>> It's funny because the msgId and Id fields are set together with all

the
>>> other fields I'm expecting.

0 Likes
martypal2005 Absent Member.
Absent Member.

Re: GetItemsRequest - mail item problem with gw8 beta

Oh ok, I get it now.

Thanks.

"Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
news:49215252.07F1.0037.1@gw.novell.com...
> clientMessageId is a new element in 8.0.0.
> It represents the "Message Id" value from the properties
> page in the GWClient.
>
> messageId is the id generated by IMAP / MIME.
> To get a messageId element that is not already present
> on the item, you need to put "messageId" in the view.
>
> For example, an item that comes in through GWIA should
> have a messageId element.
>
> msgId is equivalent to the CommonMessageID in the ObjectAPI.
>
> Preston
>
>>>> On Monday, November 17, 2008 at 10:09 AM, Martin

> Olsen<marty@lightspeedsystems.com> wrote:
>> It looks like maybe the field name is clientMessageId in 8.x and
>> messageId

>
>> in 7.x. I'll look further into it. And I'll add the capture.
>>
>> "Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
>> news:492113C3.07F1.0037.1@gw.novell.com...
>>> Sorry, I was not able to reproduce the problem.
>>>
>>> I need a sample app and SOAP trace that shows
>>> the problem.
>>> Here is my sample app and my SOAP trace. (I took out
>>> a little bit of the SOAP trace for some brevity.)
>>>
>>> private void testView()
>>> {
>>> vcsClient.WebReference.getItemRequest req = new
>>> vcsClient.WebReference.getItemRequest();
>>> vcsClient.WebReference.getItemResponse resp;
>>> string id = (String)lvItems.SelectedItems[0].Tag;
>>> req.view = "default";
>>> req.view += " recipients";
>>> req.view += " attachments";
>>> req.view += " message";
>>> req.id = id;
>>> resp = ws.getItemRequest(req);
>>> if (0 != resp.status.code)
>>> {
>>> System.Windows.Forms.MessageBox.Show("Error: " +
>>> resp.status.code.ToString() + " " + resp.status.description);
>>> }
>>> }
>>>
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <soap:Envelope
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>>> <soap:Header>
>>> <session
>>>

> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">Zqa_o37U2Q9MtbTz</
>
>>> session>
>>> </soap:Header>
>>> <soap:Body>
>>> <getItemRequest
>>> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
>>>
>>>

> <id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@16</
>
>>> id>
>>> <view>default recipients attachments message</view>
>>> </getItemRequest>
>>> </soap:Body>
>>> </soap:Envelope>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <soap:Envelope
>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>>> <soap:Header/>
>>> <soap:Body>
>>> <getItemResponse
>>> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
>>> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
>>> <item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:type="gwt:Mail">
>>>
>>>

> <gwt:id>49094882.domain.PO1.100.1776172.1.2F72.1@1:7.domain.PO1.100.0.1.0.1@
>
>>> 16</gwt:id>
>>> <gwt:version>5</gwt:version>
>>> <gwt:modified>2008-11-17T13:37:17Z</gwt:modified>
>>> <gwt:container>7.domain.PO1.100.0.1.0.1@16</gwt:container>
>>> <gwt:created>2008-10-30T11:39:14Z</gwt:created>
>>> <gwt:status>
>>> <gwt:accepted>1</gwt:accepted>
>>> <gwt:opened>1</gwt:opened>
>>> <gwt:read>1</gwt:read>
>>> </gwt:status>
>>> <gwt:msgId>49094882.domain.PO1.100.1776172.1.2F72.1</gwt:msgId>
>>> <gwt:clientMessageId>49099CE2.9DF : 194 :
>>> 18298</gwt:clientMessageId>
>>> <gwt:source>personal</gwt:source>
>>> <gwt:delivered>2008-10-30T11:39:14Z</gwt:delivered>
>>> <gwt:security>Normal</gwt:security>
>>> <gwt:subject>with custom</gwt:subject>
>>> <gwt:message>
>>> <gwt:part contentType="text/plain" length="4">aGU=</gwt:part>
>>> </gwt:message>
>>> <gwt:options>
>>> <gwt:priority>Standard</gwt:priority>
>>> </gwt:options>
>>> <gwt:size>259</gwt:size>
>>>

> <gwt:retentionModified>2008-10-30T11:39:14Z</gwt:retentionModified>
>>> </item>
>>> <status>
>>> <gwt:code>0</gwt:code>
>>> </status>
>>> </getItemResponse>
>>> </soap:Body>
>>> </soap:Envelope>
>>>
>>>
>>>>>> On Friday, November 14, 2008 at 5:59 PM, Martin
>>> Olsen<marty@lightspeedsystems.com> wrote:
>>>> Hey I'm doing some testing with gw8 beta and I'm not seeing the
>>>> mail.messageId field getting returned with the following flags:
>>>> items_request.view = "default";
>>>>
>>>> items_request.view += " recipients";
>>>>
>>>> items_request.view += " attachments";
>>>>
>>>> items_request.view += " message";
>>>>
>>>> However on 7 sp1/2/3 I get this field back.
>>>>
>>>> It's funny because the msgId and Id fields are set together with all

> the
>>>> other fields I'm expecting.



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.