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.
1590 views

Add Contact / Address book item

I am attempting to add a new contact to my “Frequent Contacts” address book. The call returns with no errors, but no id and the contact is not added. Any help would be appreciated.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<gwm:createItemResponse 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:createItemResponse>
</soapenv:Body>
</soapenv:Envelope>

I am sending an envelope like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<met:createItemRequest xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">
<typ:session>0mP0h5u_CYBRymFy</typ:session>
<container>4885F303.seccpt.its.104.1316637.1.1.1@53</container>
<gwt:item xsi:type="gwt:Contact" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<gwt:name>XXX YYYY</gwt:name>
<gwt:version>6</gwt:version>
<gwt:fullName>
<gwt:displayName>XXXX YYYY</gwt:displayName>
<gwt:firstName>XX</gwt:firstName>
<gwt:lastName>YY</gwt:lastName>
</gwt:fullName>
<gwt:emailList primary="XXXYYY@ZZZZ.com">
<gwt:email>XXXYYY@ZZZZ.com</gwt:email>
</gwt:emailList>
<gwt:phoneList default="555-444-3333">
<gwt:phone type="Office">555-444-3333</gwt:phone>
</gwt:phoneList>
</gwt:item>
</met:createItemRequest>
Labels (1)
0 Likes
1 Reply
Absent Member.
Absent Member.

The <session> element goes in the <soapenv:Header> element.
The <container> element goes in the <gwt:item> element.

>>> On Tuesday, May 10, 2011 at 10:06 AM,

wschochet<wschochet@no-mx.forums.novell.com> wrote:

> I am attempting to add a new contact to my “Frequent Contacts”

address
> book. The call returns with no errors, but no id and the contact is not
> added. Any help would be appreciated.
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header>
> </soapenv:Header>
> <soapenv:Body>
> <gwm:createItemResponse
> 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:createItemResponse>
> </soapenv:Body>
> </soapenv:Envelope>
>
> I am sending an envelope like this:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header>
> </soapenv:Header>
> <soapenv:Body>
> <met:createItemRequest
> xmlns:typ="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:met="http://schemas.novell.com/2005/01/GroupWise/methods">
> <typ:session>0mP0h5u_CYBRymFy</typ:session>
> <container>4885F303.seccpt.its.104.1316637.1.1.1@53</container>
>
> <gwt:item xsi:type="gwt:Contact"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance">
> <gwt:name>XXX YYYY</gwt:name>
> <gwt:version>6</gwt:version>
> <gwt:fullName>
> <gwt:displayName>XXXX YYYY</gwt:displayName>
> <gwt:firstName>XX</gwt:firstName>
> <gwt:lastName>YY</gwt:lastName>
> </gwt:fullName>
> <gwt:emailList primary="XXXYYY@ZZZZ.com">
> <gwt:email>XXXYYY@ZZZZ.com</gwt:email>
> </gwt:emailList>
> <gwt:phoneList default="555‑444‑3333">
> <gwt:phone type="Office">555‑444‑3333</gwt:phone>
> </gwt:phoneList>
> </gwt:item>
> </met:createItemRequest>

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.