Hi,

I called createItemRequest() to create an item in a proxy account. The item is created successfully, but even though the item I passed in had a collection of custom fields (with one field in the collection), the custom field was not created in the GroupWise item.

Should this work, or is there a different way to add the custom field on the newly-created item?


The request and response XML blocks are below:

<?xml version="1.0" encoding="UTF-8"?>
<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">0d7GxuhQgEhnuXpF</h:session>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<createItemRequest xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
<item xmlns:q1="http://schemas.novell.com/2005/01/GroupWise/types" xsi:type="q1:Mail">
<q1:container>47F5F953.CCO.sig.100.1776766.1.4F.1@ 13</q1:container>
<q1:customs>
<q1:custom type="String">
<q1:field>GW2PPV_BidNo</q1:field>
<q1:value>13255</q1:value>
</q1:custom>
</q1:customs>
<q1:status>
<q1:opened>true</q1:opened>
<q1:read>true</q1:read>
</q1:status>
<q1:source>received</q1:source>
<q1:delivered>0001-01-01T00:00:00</q1:delivered>
<q1:security>Normal</q1:security>
<q1:subject>test 6</q1:subject>
<q1:distribution>
<q1:from>
<q1:displayName>Sean Kirkby</q1:displayName>
<q1:email>skirkby@armordatasystems.com</q1:email>
<q1:uuid>D23C9DB0-16F0-0000-BBFC-49005C005800</q1:uuid>
</q1:from>
<q1:to>Sean Kirkby</q1:to>
<q1:sendoptions>
<q1:statusTracking>All</q1:statusTracking>
</q1:sendoptions>
</q1:distribution>
<q1:message>
<q1:part length="8">dGVzdA==</q1:part>
</q1:message>
<q1:attachments>
<q1:attachment>
<q1:id>4AC48C4C.CCO.sig.200.200003D.1.16E30.1@45:4 AC48C4C.CCO.sig.100.1796F78.1.E6A91.1@1:7.CCO.sig. 100.0.1.0.1@16</q1:id>
<q1:name>TEXT.htm</q1:name>
<q1:contentType>TEXT/HTML</q1:contentType>
<q1:size>215</q1:size>
<q1:date>2009-10-01T11:02:36Z</q1:date>
<q1:data>PEhUTUw+PEhFQUQ+DQo8TUVUQSBjb250ZW50PSJ0Z Xh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiIGh0dHAtZXF1aXY9Q29 udGVudC1UeXBlPg0KPE1FVEEgbmFtZT1HRU5FUkFUT1IgY29ud GVudD0iTVNIVE1MIDguMDAuNjAwMS4xODgxMiI+PC9IRUFEPg0 KPEJPRFkgc3R5bGU9Ik1BUkdJTjogNHB4IDRweCAxcHg7IEZPT lQ6IDEwcHQgVGFob21hIj50ZXN0PC9CT0RZPjwvSFRNTD4=</q1:data>
<q1:hidden>true</q1:hidden>
</q1:attachment>
</q1:attachments>
<q1:options>
<q1:priority>Standard</q1:priority>
</q1:options>
</item>
</createItemRequest>
</s:Body>
</s:Envelope>



Response:

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<gwTrace xmlns="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:h="http://schemas.novell.com/2005/01/GroupWise/types">false</gwTrace>
</s:Header>
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<createItemResponse xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types" xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
<id>4AC48F19.CCO.sig.100.1776766.1.270.1@1:47F5F95 3.CCO.sig.100.1776766.1.4F.1@13</id>
<status>
<gwt:code>0</gwt:code>
</status>
</createItemResponse>
</s:Body>
</s:Envelope>


Thanks.

--sk.