wschochet

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-10
16:57
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>
<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>
1 Reply
Anonymous_User

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-11
11:35
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>
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>