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

How to determine, if address book is read only

I am trying to create contact in System Address Book. I have read-only rights to this book.
And I got error in SOAP response, that tells "Container string is missing". Contacts are creating succesfully in other address books, in which I have read-write access.

Can I check before creating contact, if I am allowed to do this? Maybe there is SOAP request for this?

Request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:m="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:e="http://schemas.novell.com/2005/01/GroupWise/events" xsl:version="1.0">
<soap:Header>
<gwTrace>true</gwTrace>
<session>ApZ9bjP0LzYEHVAg</session>
</soap:Header>
<soap:Body>
<m:sendItemRequest>
<m:item xsi:type="types:Contact">
<types:container xsi:type="types:ContainerRef">GroupWiseSystemAddressBook@52</types:container>
<types:fullName>
<types:displayName>novelllllllllll</types:displayName>
<types:firstName>novelllllllllll</types:firstName>
</types:fullName>
</m:item>
</m:sendItemRequest>
</soap:Body>
</soap:Envelope>


Response:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xsl:version="1.0" xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> </soap:Header> <soap:Body> <gwm:sendItemResponse xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events">

<gwm:status>
<gwt:code>59911</gwt:code>
<gwt:description>Container string is missing</gwt:description>
</gwm:status>
</gwm:sendItemResponse> </soap:Body> </soap:Envelope>
Labels (1)
0 Likes
3 Replies
Absent Member.
Absent Member.

The only way to create a contact in the System Address Book
is to use ConsoleOne or the Admin API.

Preston

>>> On Wednesday, February 09, 2011 at 4:36 AM,

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

> I am trying to create contact in System Address Book. I have read‑only
> rights to this book.
> And I got error in SOAP response, that tells "Container string is
> missing". Contacts are creating succesfully in other address books, in
> which I have read‑write access.
>
> Can I check before creating contact, if I am allowed to do this? Maybe
> there is SOAP request for this?
>
> Request:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
>

xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/group

> wise.wsdl"
> xmlns:types="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:m="http://schemas.novell.com/2005/01/GroupWise/methods"
> xmlns:e="http://schemas.novell.com/2005/01/GroupWise/events"
> xsl:version="1.0">
> <soap:Header>
> <gwTrace>true</gwTrace>
> <session>ApZ9bjP0LzYEHVAg</session>
> </soap:Header>
> <soap:Body>
> <m:sendItemRequest>
> <m:item xsi:type="types:Contact">
> <types:container
>

xsi:type="types:ContainerRef">GroupWiseSystemAddressBook@52</types:container
>
> <types:fullName>
> <types:displayName>novelllllllllll</types:displayName>
> <types:firstName>novelllllllllll</types:firstName>
> </types:fullName>
> </m:item>
> </m:sendItemRequest>
> </soap:Body>
> </soap:Envelope>
>
>
> Response:
> <?xml version="1.0" encoding="UTF‑8"?><soap:Envelope xsl:version="1.0"
>

xmlns:GroupwiseServiceSvc="http://schemas.novell.com/2005/01/GroupWise/group

> wise.wsdl"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header> </soap:Header>
> <soap:Body> <gwm:sendItemResponse
> xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events">
>
> <gwm:status>
> <gwt:code>59911</gwt:code>
> <gwt:description>Container string is missing</gwt:description>
> </gwm:status>
> </gwm:sendItemResponse> </soap:Body> </soap:Envelope>

0 Likes
Absent Member.
Absent Member.

The only way to create a contact in the System Address Book
is to use ConsoleOne or the Admin API.

Sorry for not focused question.
My question was not about creating contacts in System Address Book, but about way to check, if I have rights to write to particular Address Book.
I.e. I would like to do something like this: <getAccessLevelRequest><container>...</container>... and response <accessLevel>read-only</accessLevel> or "read-write"
0 Likes
Absent Member.
Absent Member.

Sorry, I don't understand your request.
You can modify personal address books (with the exception
of shared personal address books shared with you where you
don't have write rights).
What exactly are you looking for that is not already in place?

Preston

>>> On Thursday, February 10, 2011 at 8:06 AM,

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

>> The only way to create a contact in the System Address Book
>> is to use ConsoleOne or the Admin API.

> Sorry for not focused question.
> My question was not about creating contacts in System Address Book, but
> about way to check, if I have rights to write to particular Address
> Book.
> I.e. I would like to do something like this:
> <getAccessLevelRequest><container>...</container>... and response
> <accessLevel>read‑only</accessLevel> or "read‑write"

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.