Booj2 Absent Member.
Absent Member.
863 views

How to share a folder tree with soap


Hello,


I'm able to share a single folder with SOAP, how can you share a complete "folder tree" without share all subfolders individually?


Thanks in advance,

Hans
Labels (1)
0 Likes
16 Replies
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

That functionality is currently not available.
I'll look into adding it in the next major release.

Preston



>>>


> Hello,
>
>
> I'm able to share a single folder with SOAP, how can you share a
> complete "folder tree" without share all subfolders individually?
>
>
> Thanks in advance,
>
> Hans

0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Thank you

Is it in the R2 release or will it be later?


Hans




>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015 16:06 >>>



That functionality is currently not available.
I'll look into adding it in the next major release.

Preston




>>>



> Hello,
>
>
> I'm able to share a single folder with SOAP, how can you share a
> complete "folder tree" without share all subfolders individually?
>
>
> Thanks in advance,
>
> Hans
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

I put the change.

I added two new flags to FolderFlags:
<xs:complexType name="FolderFlags">
<xs:sequence>
<xs:element name="firstUnread" type="xs:boolean" minOccurs="0"/>
<xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
<xs:element name="protected" type="xs:boolean" minOccurs="0"/>
<xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareTree" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

At the time you share a folder, you specify
<flags><shareTree>true</shareTree></flags>

If that is set, all of the sub folders will be shared as well.

That is the only time you can set <shareTree>.
After that <shareTree> and <shareSub> are read-only.

The <shareTree> flag will be set on the root of the shared folder tree.
Each sub folder will have <shareSub>

You will only see the flags if you login to a Cornell (R2) (or later) POA,
passing version "1.07" (or greater).

Let me know if you have questions.

Preston



>>>


> Thank you
>
> Is it in the R2 release or will it be later?
>
>
> Hans
>
>
>
>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

16:06 >>>
>
>
> That functionality is currently not available.
> I'll look into adding it in the next major release.
>
> Preston
>
>
>
>>>>

>
>> Hello,
>>
>>
>> I'm able to share a single folder with SOAP, how can you share a
>> complete "folder tree" without share all subfolders individually?
>>
>>
>> Thanks in advance,
>>
>> Hans

0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Looks great, will install the latest version of 14.0.2 I have so I can test it in my code.


Thx.

Hans




>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015 19:08 >>>



I put the change.

I added two new flags to FolderFlags:
<xs:complexType name="FolderFlags">
<xs:sequence>
<xs:element name="firstUnread" type="xs:boolean" minOccurs="0"/>
<xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
<xs:element name="protected" type="xs:boolean" minOccurs="0"/>
<xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareTree" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

At the time you share a folder, you specify
<flags><shareTree>true</shareTree></flags>

If that is set, all of the sub folders will be shared as well.

That is the only time you can set <shareTree>.
After that <shareTree> and <shareSub> are read-only.

The <shareTree> flag will be set on the root of the shared folder tree.
Each sub folder will have <shareSub>

You will only see the flags if you login to a Cornell (R2) (or later) POA,
passing version "1.07" (or greater).

Let me know if you have questions.

Preston




>>>



> Thank you
>
> Is it in the R2 release or will it be later?
>
>
> Hans
>
>
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

16:06 >>>

>
>
> That functionality is currently not available.
> I'll look into adding it in the next major release.
>
> Preston
>
>
>

>>>>

>

>> Hello,
>>
>>
>> I'm able to share a single folder with SOAP, how can you share a
>> complete "folder tree" without share all subfolders individually?
>>
>>
>> Thanks in advance,
>>
>> Hans
0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


I have one question.

Is there a new WSDL file available at the moment?


Hans


>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015 19:08 >>>



I put the change.

I added two new flags to FolderFlags:
<xs:complexType name="FolderFlags">
<xs:sequence>
<xs:element name="firstUnread" type="xs:boolean" minOccurs="0"/>
<xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
<xs:element name="protected" type="xs:boolean" minOccurs="0"/>
<xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareTree" type="xs:boolean" minOccurs="0"/>
<xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

At the time you share a folder, you specify
<flags><shareTree>true</shareTree></flags>

If that is set, all of the sub folders will be shared as well.

That is the only time you can set <shareTree>.
After that <shareTree> and <shareSub> are read-only.

The <shareTree> flag will be set on the root of the shared folder tree.
Each sub folder will have <shareSub>

You will only see the flags if you login to a Cornell (R2) (or later) POA,
passing version "1.07" (or greater).

Let me know if you have questions.

Preston




>>>



> Thank you
>
> Is it in the R2 release or will it be later?
>
>
> Hans
>
>
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

16:06 >>>

>
>
> That functionality is currently not available.
> I'll look into adding it in the next major release.
>
> Preston
>
>
>

>>>>

>

>> Hello,
>>
>>
>> I'm able to share a single folder with SOAP, how can you share a
>> complete "folder tree" without share all subfolders individually?
>>
>>
>> Thanks in advance,
>>
>> Hans
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

The R2 builds are gw14.2.0-xxx (not gw14.0.2-xxx).
(This was a recent numbering change.)

The schema is copied with the executable.
\Program Files\Novell\GroupWise Server\agents\data\wsdl
/opt/novell/groupwise/agents/data/wsdl

Preston



>>>


> I have one question.
>
> Is there a new WSDL file available at the moment?
>
>
> Hans
>
>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

19:08 >>>
>
>
> I put the change.
>
> I added two new flags to FolderFlags:
> <xs:complexType name="FolderFlags">
> <xs:sequence>
> <xs:element name="firstUnread" type="xs:boolean"
>minOccurs="0"/>
> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
> <xs:element name="protected" type="xs:boolean"

minOccurs="0"/>
> <xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
> <xs:element name="shareTree" type="xs:boolean"

minOccurs="0"/>
> <xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
> </xs:sequence>
> </xs:complexType>
>
> At the time you share a folder, you specify
> <flags><shareTree>true</shareTree></flags>
>
> If that is set, all of the sub folders will be shared as well.
>
> That is the only time you can set <shareTree>.
> After that <shareTree> and <shareSub> are read‑only.
>
> The <shareTree> flag will be set on the root of the shared folder tree.
> Each sub folder will have <shareSub>
>
> You will only see the flags if you login to a Cornell (R2) (or later)
> POA,
> passing version "1.07" (or greater).
>
> Let me know if you have questions.
>
> Preston
>
>
>
>>>>

>
>> Thank you
>>
>> Is it in the R2 release or will it be later?
>>
>>
>> Hans
>>
>>
>>
>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 16:06 >>>
>>
>>
>> That functionality is currently not available.
>> I'll look into adding it in the next major release.
>>
>> Preston
>>
>>
>>
>>>>>

>>
>>> Hello,
>>>
>>>
>>> I'm able to share a single folder with SOAP, how can you share a
>>> complete "folder tree" without share all subfolders individually?
>>>
>>>
>>> Thanks in advance,
>>>
>>> Hans

0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Thank you,

Then I have to wait for the 14.2.0 version.


Hans


>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015 22:19 >>>



The R2 builds are gw14.2.0-xxx (not gw14.0.2-xxx).
(This was a recent numbering change.)

The schema is copied with the executable.
\Program Files\Novell\GroupWise Server\agents\data\wsdl
/opt/novell/groupwise/agents/data/wsdl

Preston




>>>



> I have one question.
>
> Is there a new WSDL file available at the moment?
>
>
> Hans
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

19:08 >>>

>
>
> I put the change.
>
> I added two new flags to FolderFlags:
> <xs:complexType name="FolderFlags">
> <xs:sequence>
> <xs:element name="firstUnread" type="xs:boolean"
>minOccurs="0"/>
> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
> <xs:element name="protected" type="xs:boolean"

minOccurs="0"/>

> <xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
> <xs:element name="shareTree" type="xs:boolean"

minOccurs="0"/>

> <xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
> </xs:sequence>
> </xs:complexType>
>
> At the time you share a folder, you specify
> <flags><shareTree>true</shareTree></flags>
>
> If that is set, all of the sub folders will be shared as well.
>
> That is the only time you can set <shareTree>.
> After that <shareTree> and <shareSub> are read‑only.
>
> The <shareTree> flag will be set on the root of the shared folder tree.
> Each sub folder will have <shareSub>
>
> You will only see the flags if you login to a Cornell (R2) (or later)
> POA,
> passing version "1.07" (or greater).
>
> Let me know if you have questions.
>
> Preston
>
>
>

>>>>

>

>> Thank you
>>
>> Is it in the R2 release or will it be later?
>>
>>
>> Hans
>>
>>
>>

>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 16:06 >>>

>>
>>
>> That functionality is currently not available.
>> I'll look into adding it in the next major release.
>>
>> Preston
>>
>>
>>

>>>>>

>>

>>> Hello,
>>>
>>>
>>> I'm able to share a single folder with SOAP, how can you share a
>>> complete "folder tree" without share all subfolders individually?
>>>
>>>
>>> Thanks in advance,
>>>
>>> Hans
0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Hello Preston,


I still have a problem sharing a foldertree.


I just install a GW-system with PostOffice verson: 14.2.0 ß -120742. (on linux)
Does this version support then foldertree share?


I login and set version to 1.07 during login.


Then I try to share a folder tree.
(this folder is not shared yet).


I tried the following:
<modifyItemRequest>
<id>...</id>
<notification>...</notification>
<flags><shareTree>True</shareTree></flags>
<updates>
<acl>....</acl>
</updates>
</modifyItemRequest>


Is this constuction correct?


Hans




>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015 22:19 >>>



The R2 builds are gw14.2.0-xxx (not gw14.0.2-xxx).
(This was a recent numbering change.)

The schema is copied with the executable.
\Program Files\Novell\GroupWise Server\agents\data\wsdl
/opt/novell/groupwise/agents/data/wsdl

Preston




>>>



> I have one question.
>
> Is there a new WSDL file available at the moment?
>
>
> Hans
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

19:08 >>>

>
>
> I put the change.
>
> I added two new flags to FolderFlags:
> <xs:complexType name="FolderFlags">
> <xs:sequence>
> <xs:element name="firstUnread" type="xs:boolean"
>minOccurs="0"/>
> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
> <xs:element name="protected" type="xs:boolean"

minOccurs="0"/>

> <xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
> <xs:element name="shareTree" type="xs:boolean"

minOccurs="0"/>

> <xs:element name="shareSub" type="xs:boolean" minOccurs="0"/>
> </xs:sequence>
> </xs:complexType>
>
> At the time you share a folder, you specify
> <flags><shareTree>true</shareTree></flags>
>
> If that is set, all of the sub folders will be shared as well.
>
> That is the only time you can set <shareTree>.
> After that <shareTree> and <shareSub> are read‑only.
>
> The <shareTree> flag will be set on the root of the shared folder tree.
> Each sub folder will have <shareSub>
>
> You will only see the flags if you login to a Cornell (R2) (or later)
> POA,
> passing version "1.07" (or greater).
>
> Let me know if you have questions.
>
> Preston
>
>
>

>>>>

>

>> Thank you
>>
>> Is it in the R2 release or will it be later?
>>
>>
>> Hans
>>
>>
>>

>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 16:06 >>>

>>
>>
>> That functionality is currently not available.
>> I'll look into adding it in the next major release.
>>
>> Preston
>>
>>
>>

>>>>>

>>

>>> Hello,
>>>
>>>
>>> I'm able to share a single folder with SOAP, how can you share a
>>> complete "folder tree" without share all subfolders individually?
>>>
>>>
>>> Thanks in advance,
>>>
>>> Hans
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

Sorry, I dropped through the debugger in testing one path and didn't update
the code after that.
I put that fix.
It will be in a 14.2.0 build greater or equal to 120803.

The little of the soap trace that you posted may be wrong.
Just in case, here is my test and soap trace:

private void testAddShare()
{
FolderACL acl = new FolderACL();
FolderACLEntry entry = new FolderACLEntry();
FolderFlags flags = new FolderFlags();
ItemChanges upds = new ItemChanges();
ModifyItemRequest request = new ModifyItemRequest();
Rights rights = new Rights();
SharedFolder folder = new SharedFolder();
SharedFolderNotification sfn = new SharedFolderNotification();

entry.setDisplayName("Jay Parker");
entry.setEmail("jay.parker@prestons.provo.novell.com");
rights.setAdd(true);
rights.setRead(true);
entry.setRights(rights);
acl.getEntry().add(entry);
folder.setAcl(acl);
flags.setShareTree(true);
folder.setFlags(flags);
upds.setAdd(folder);

sfn.setMessage("Please accept this folder");
sfn.setSubject("sfn: accept this folder");
request.setNotification(sfn);
request.setUpdates(upds);
request.setId(getFolderId());
port.modifyItemRequest(request);
}

<?xml version="1.0" encoding="UTF-8"?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<session
xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4GU</
session>
</S:Header>
<S:Body>
<ns3:modifyItemRequest
xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
<ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
<ns3:notification>
<subject>sfn: accept this folder</subject>
<message>Please accept this folder</message>
</ns3:notification>
<ns3:updates>
<add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="SharedFolder">
<flags>
<shareTree>true</shareTree>
</flags>
<acl>
<entry>
<displayName>Jay Parker</displayName>
<email>jay.parker@prestons.provo.novell.com</email>
<rights>
<read>true</read>
<add>true</add>
</rights>
</entry>
</acl>
</add>
</ns3:updates>
</ns3:modifyItemRequest>
</S:Body>
</S:Envelope>

Let me know if you still have a problem.

Preston




>>>


> Hello Preston,
>
>
> I still have a problem sharing a foldertree.
>
>
> I just install a GW‑system with PostOffice verson: 14.2.0 ß ‑120742.

(on
> linux)
> Does this version support then foldertree share?
>
>
> I login and set version to 1.07 during login.
>
>
> Then I try to share a folder tree.
> (this folder is not shared yet).
>
>
> I tried the following:
> <modifyItemRequest>
> <id>...</id>
> <notification>...</notification>
> <flags><shareTree>True</shareTree></flags>
> <updates>
> <acl>....</acl>
> </updates>
> </modifyItemRequest>
>
>
> Is this constuction correct?
>
>
> Hans
>
>
>
>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

22:19 >>>
>
>
> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
> (This was a recent numbering change.)
>
> The schema is copied with the executable.
> \Program Files\Novell\GroupWise Server\agents\data\wsdl
> /opt/novell/groupwise/agents/data/wsdl
>
> Preston
>
>
>
>>>>

>
>> I have one question.
>>
>> Is there a new WSDL file available at the moment?
>>
>>
>> Hans
>>
>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 19:08 >>>
>>
>>
>> I put the change.
>>
>> I added two new flags to FolderFlags:
>> <xs:complexType name="FolderFlags">
>> <xs:sequence>
>> <xs:element name="firstUnread" type="xs:boolean"
>>minOccurs="0"/>
>> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
>> <xs:element name="protected" type="xs:boolean"

> minOccurs="0"/>
>> <xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
>> <xs:element name="shareTree" type="xs:boolean"

> minOccurs="0"/>
>> <xs:element name="shareSub" type="xs:boolean"

minOccurs="0"/>
>> </xs:sequence>
>> </xs:complexType>
>>
>> At the time you share a folder, you specify
>> <flags><shareTree>true</shareTree></flags>
>>
>> If that is set, all of the sub folders will be shared as well.
>>
>> That is the only time you can set <shareTree>.
>> After that <shareTree> and <shareSub> are read‑only.
>>
>> The <shareTree> flag will be set on the root of the shared folder tree.
>> Each sub folder will have <shareSub>
>>
>> You will only see the flags if you login to a Cornell (R2) (or later)
>> POA,
>> passing version "1.07" (or greater).
>>
>> Let me know if you have questions.
>>
>> Preston
>>
>>
>>
>>>>>

>>
>>> Thank you
>>>
>>> Is it in the R2 release or will it be later?
>>>
>>>
>>> Hans
>>>
>>>
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

>> 16:06 >>>
>>>
>>>
>>> That functionality is currently not available.
>>> I'll look into adding it in the next major release.
>>>
>>> Preston
>>>
>>>
>>>
>>>>>>
>>>
>>>> Hello,
>>>>
>>>>
>>>> I'm able to share a single folder with SOAP, how can you share a
>>>> complete "folder tree" without share all subfolders individually?
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Hans

0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Do you know how I can get the (beta) versions of GW14.2.0?

At the moment I have to ask others for a new beta version.


Hans


>>> Preston Stephenson<PStephenson@gw.novell.com> Dinsdag 7 Juli 2015 22:38 >>>



Sorry, I dropped through the debugger in testing one path and didn't update
the code after that.
I put that fix.
It will be in a 14.2.0 build greater or equal to 120803.

The little of the soap trace that you posted may be wrong.
Just in case, here is my test and soap trace:

private void testAddShare()
{
FolderACL acl = new FolderACL();
FolderACLEntry entry = new FolderACLEntry();
FolderFlags flags = new FolderFlags();
ItemChanges upds = new ItemChanges();
ModifyItemRequest request = new ModifyItemRequest();
Rights rights = new Rights();
SharedFolder folder = new SharedFolder();
SharedFolderNotification sfn = new SharedFolderNotification();

entry.setDisplayName("Jay Parker");
entry.setEmail("jay.parker@prestons.provo.novell.com");
rights.setAdd(true);
rights.setRead(true);
entry.setRights(rights);
acl.getEntry().add(entry);
folder.setAcl(acl);
flags.setShareTree(true);
folder.setFlags(flags);
upds.setAdd(folder);

sfn.setMessage("Please accept this folder");
sfn.setSubject("sfn: accept this folder");
request.setNotification(sfn);
request.setUpdates(upds);
request.setId(getFolderId());
port.modifyItemRequest(request);
}

<?xml version="1.0" encoding="UTF-8"?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<session
xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4GU</
session>
</S:Header>
<S:Body>
<ns3:modifyItemRequest
xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
<ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
<ns3:notification>
<subject>sfn: accept this folder</subject>
<message>Please accept this folder</message>
</ns3:notification>
<ns3:updates>
<add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="SharedFolder">
<flags>
<shareTree>true</shareTree>
</flags>
<acl>
<entry>
<displayName>Jay Parker</displayName>
<email>jay.parker@prestons.provo.novell.com</email>
<rights>
<read>true</read>
<add>true</add>
</rights>
</entry>
</acl>
</add>
</ns3:updates>
</ns3:modifyItemRequest>
</S:Body>
</S:Envelope>

Let me know if you still have a problem.

Preston





>>>



> Hello Preston,
>
>
> I still have a problem sharing a foldertree.
>
>
> I just install a GW‑system with PostOffice verson: 14.2.0 ß ‑120742.

(on

> linux)
> Does this version support then foldertree share?
>
>
> I login and set version to 1.07 during login.
>
>
> Then I try to share a folder tree.
> (this folder is not shared yet).
>
>
> I tried the following:
> <modifyItemRequest>
> <id>...</id>
> <notification>...</notification>
> <flags><shareTree>True</shareTree></flags>
> <updates>
> <acl>....</acl>
> </updates>
> </modifyItemRequest>
>
>
> Is this constuction correct?
>
>
> Hans
>
>
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

22:19 >>>

>
>
> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
> (This was a recent numbering change.)
>
> The schema is copied with the executable.
> \Program Files\Novell\GroupWise Server\agents\data\wsdl
> /opt/novell/groupwise/agents/data/wsdl
>
> Preston
>
>
>

>>>>

>

>> I have one question.
>>
>> Is there a new WSDL file available at the moment?
>>
>>
>> Hans
>>

>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 19:08 >>>

>>
>>
>> I put the change.
>>
>> I added two new flags to FolderFlags:
>> <xs:complexType name="FolderFlags">
>> <xs:sequence>
>> <xs:element name="firstUnread" type="xs:boolean"
>>minOccurs="0"/>
>> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
>> <xs:element name="protected" type="xs:boolean"

> minOccurs="0"/>

>> <xs:element name="unnamed" type="xs:boolean" minOccurs="0"/>
>> <xs:element name="shareTree" type="xs:boolean"

> minOccurs="0"/>

>> <xs:element name="shareSub" type="xs:boolean"

minOccurs="0"/>

>> </xs:sequence>
>> </xs:complexType>
>>
>> At the time you share a folder, you specify
>> <flags><shareTree>true</shareTree></flags>
>>
>> If that is set, all of the sub folders will be shared as well.
>>
>> That is the only time you can set <shareTree>.
>> After that <shareTree> and <shareSub> are read‑only.
>>
>> The <shareTree> flag will be set on the root of the shared folder tree.
>> Each sub folder will have <shareSub>
>>
>> You will only see the flags if you login to a Cornell (R2) (or later)
>> POA,
>> passing version "1.07" (or greater).
>>
>> Let me know if you have questions.
>>
>> Preston
>>
>>
>>

>>>>>

>>

>>> Thank you
>>>
>>> Is it in the R2 release or will it be later?
>>>
>>>
>>> Hans
>>>
>>>
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

>> 16:06 >>>

>>>
>>>
>>> That functionality is currently not available.
>>> I'll look into adding it in the next major release.
>>>
>>> Preston
>>>
>>>
>>>
>>>>>>
>>>
>>>> Hello,
>>>>
>>>>
>>>> I'm able to share a single folder with SOAP, how can you share a
>>>> complete "folder tree" without share all subfolders individually?
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Hans
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

Someone will reach out to you to join the beta.
Let me know if you don't get contacted.

Preston



>>>


> Do you know how I can get the (beta) versions of GW14.2.0?
>
> At the moment I have to ask others for a new beta version.
>
>
> Hans
>
>>>> Preston Stephenson<PStephenson@gw.novell.com> Dinsdag 7 Juli 2015 22:38
>>>

>
>
> Sorry, I dropped through the debugger in testing one path and didn't
> update
> the code after that.
> I put that fix.
> It will be in a 14.2.0 build greater or equal to 120803.
>
> The little of the soap trace that you posted may be wrong.
> Just in case, here is my test and soap trace:
>
> private void testAddShare()
> {
> FolderACL acl = new FolderACL();
> FolderACLEntry entry = new FolderACLEntry();
> FolderFlags flags = new FolderFlags();
> ItemChanges upds = new ItemChanges();
> ModifyItemRequest request = new ModifyItemRequest();
> Rights rights = new Rights();
> SharedFolder folder = new SharedFolder();
> SharedFolderNotification sfn = new SharedFolderNotification();
>
> entry.setDisplayName("Jay Parker");
> entry.setEmail("jay.parker@prestons.provo.novell.com");
> rights.setAdd(true);
> rights.setRead(true);
> entry.setRights(rights);
> acl.getEntry().add(entry);
> folder.setAcl(acl);
> flags.setShareTree(true);
> folder.setFlags(flags);
> upds.setAdd(folder);
>
> sfn.setMessage("Please accept this folder");
> sfn.setSubject("sfn: accept this folder");
> request.setNotification(sfn);
> request.setUpdates(upds);
> request.setId(getFolderId());
> port.modifyItemRequest(request);
> }
>
> <?xml version="1.0" encoding="UTF‑8"?><S:Envelope
> xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP‑ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <S:Header>
> <session
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4G
> U</
> session>
> </S:Header>
> <S:Body>
> <ns3:modifyItemRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
> xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
> <ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
> <ns3:notification>
> <subject>sfn: accept this folder</subject>
> <message>Please accept this folder</message>
> </ns3:notification>
> <ns3:updates>
> <add xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xsi:type="SharedFolder">
> <flags>
> <shareTree>true</shareTree>
> </flags>
> <acl>
> <entry>
> <displayName>Jay Parker</displayName>
> <email>jay.parker@prestons.provo.novell.com</email>
> <rights>
> <read>true</read>
> <add>true</add>
> </rights>
> </entry>
> </acl>
> </add>
> </ns3:updates>
> </ns3:modifyItemRequest>
> </S:Body>
> </S:Envelope>
>
> Let me know if you still have a problem.
>
> Preston
>
>
>
>
>>>>

>
>> Hello Preston,
>>
>>
>> I still have a problem sharing a foldertree.
>>
>>
>> I just install a GW‑system with PostOffice verson: 14.2.0 ß

‑120742.
> (on
>> linux)
>> Does this version support then foldertree share?
>>
>>
>> I login and set version to 1.07 during login.
>>
>>
>> Then I try to share a folder tree.
>> (this folder is not shared yet).
>>
>>
>> I tried the following:
>> <modifyItemRequest>
>> <id>...</id>
>> <notification>...</notification>
>> <flags><shareTree>True</shareTree></flags>
>> <updates>
>> <acl>....</acl>
>> </updates>
>> </modifyItemRequest>
>>
>>
>> Is this constuction correct?
>>
>>
>> Hans
>>
>>
>>
>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 22:19 >>>
>>
>>
>> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
>> (This was a recent numbering change.)
>>
>> The schema is copied with the executable.
>> \Program Files\Novell\GroupWise Server\agents\data\wsdl
>> /opt/novell/groupwise/agents/data/wsdl
>>
>> Preston
>>
>>
>>
>>>>>

>>
>>> I have one question.
>>>
>>> Is there a new WSDL file available at the moment?
>>>
>>>
>>> Hans
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

>> 19:08 >>>
>>>
>>>
>>> I put the change.
>>>
>>> I added two new flags to FolderFlags:
>>> <xs:complexType name="FolderFlags">
>>> <xs:sequence>
>>> <xs:element name="firstUnread" type="xs:boolean"
>>>minOccurs="0"/>
>>> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
>>> <xs:element name="protected" type="xs:boolean"

>> minOccurs="0"/>
>>> <xs:element name="unnamed" type="xs:boolean"

minOccurs="0"/>
>>> <xs:element name="shareTree" type="xs:boolean"

>> minOccurs="0"/>
>>> <xs:element name="shareSub" type="xs:boolean"

> minOccurs="0"/>
>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>> At the time you share a folder, you specify
>>> <flags><shareTree>true</shareTree></flags>
>>>
>>> If that is set, all of the sub folders will be shared as well.
>>>
>>> That is the only time you can set <shareTree>.
>>> After that <shareTree> and <shareSub> are read‑only.
>>>
>>> The <shareTree> flag will be set on the root of the shared folder tree.
>>> Each sub folder will have <shareSub>
>>>
>>> You will only see the flags if you login to a Cornell (R2) (or later)
>>> POA,
>>> passing version "1.07" (or greater).
>>>
>>> Let me know if you have questions.
>>>
>>> Preston
>>>
>>>
>>>
>>>>>>
>>>
>>>> Thank you
>>>>
>>>> Is it in the R2 release or will it be later?
>>>>
>>>>
>>>> Hans
>>>>
>>>>
>>>>
>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>> 16:06 >>>
>>>>
>>>>
>>>> That functionality is currently not available.
>>>> I'll look into adding it in the next major release.
>>>>
>>>> Preston
>>>>
>>>>
>>>>
>>>>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>> I'm able to share a single folder with SOAP, how can you share a
>>>>> complete "folder tree" without share all subfolders individually?
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Hans

0 Likes
Booj2 Absent Member.
Absent Member.

Re: How to share a folder tree with soap


Is there an option in SOAP for finding all the acl's for a folder that is "shared to me".

In the GW-Client you can see who has also rights to the shared folder and the access-rights, you can't see the status. In SOAP I can only retreive the owner and the access-rights for "my-self" (the loggged-in user).


Hans


>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 8 Juli 2015 19:02 >>>



Someone will reach out to you to join the beta.
Let me know if you don't get contacted.

Preston




>>>



> Do you know how I can get the (beta) versions of GW14.2.0?
>
> At the moment I have to ask others for a new beta version.
>
>
> Hans
>

>>>> Preston Stephenson<PStephenson@gw.novell.com> Dinsdag 7 Juli 2015 22:38
>>>

>
>
> Sorry, I dropped through the debugger in testing one path and didn't
> update
> the code after that.
> I put that fix.
> It will be in a 14.2.0 build greater or equal to 120803.
>
> The little of the soap trace that you posted may be wrong.
> Just in case, here is my test and soap trace:
>
> private void testAddShare()
> {
> FolderACL acl = new FolderACL();
> FolderACLEntry entry = new FolderACLEntry();
> FolderFlags flags = new FolderFlags();
> ItemChanges upds = new ItemChanges();
> ModifyItemRequest request = new ModifyItemRequest();
> Rights rights = new Rights();
> SharedFolder folder = new SharedFolder();
> SharedFolderNotification sfn = new SharedFolderNotification();
>
> entry.setDisplayName("Jay Parker");
> entry.setEmail("jay.parker@prestons.provo.novell.com");
> rights.setAdd(true);
> rights.setRead(true);
> entry.setRights(rights);
> acl.getEntry().add(entry);
> folder.setAcl(acl);
> flags.setShareTree(true);
> folder.setFlags(flags);
> upds.setAdd(folder);
>
> sfn.setMessage("Please accept this folder");
> sfn.setSubject("sfn: accept this folder");
> request.setNotification(sfn);
> request.setUpdates(upds);
> request.setId(getFolderId());
> port.modifyItemRequest(request);
> }
>
> <?xml version="1.0" encoding="UTF‑8"?><S:Envelope
> xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP‑ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <S:Header>
> <session
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4G
> U</
> session>
> </S:Header>
> <S:Body>
> <ns3:modifyItemRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
> xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
> <ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
> <ns3:notification>
> <subject>sfn: accept this folder</subject>
> <message>Please accept this folder</message>
> </ns3:notification>
> <ns3:updates>
> <add xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xsi:type="SharedFolder">
> <flags>
> <shareTree>true</shareTree>
> </flags>
> <acl>
> <entry>
> <displayName>Jay Parker</displayName>
> <email>jay.parker@prestons.provo.novell.com</email>
> <rights>
> <read>true</read>
> <add>true</add>
> </rights>
> </entry>
> </acl>
> </add>
> </ns3:updates>
> </ns3:modifyItemRequest>
> </S:Body>
> </S:Envelope>
>
> Let me know if you still have a problem.
>
> Preston
>
>
>
>

>>>>

>

>> Hello Preston,
>>
>>
>> I still have a problem sharing a foldertree.
>>
>>
>> I just install a GW‑system with PostOffice verson: 14.2.0 ß

‑120742.

> (on

>> linux)
>> Does this version support then foldertree share?
>>
>>
>> I login and set version to 1.07 during login.
>>
>>
>> Then I try to share a folder tree.
>> (this folder is not shared yet).
>>
>>
>> I tried the following:
>> <modifyItemRequest>
>> <id>...</id>
>> <notification>...</notification>
>> <flags><shareTree>True</shareTree></flags>
>> <updates>
>> <acl>....</acl>
>> </updates>
>> </modifyItemRequest>
>>
>>
>> Is this constuction correct?
>>
>>
>> Hans
>>
>>
>>

>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

> 22:19 >>>

>>
>>
>> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
>> (This was a recent numbering change.)
>>
>> The schema is copied with the executable.
>> \Program Files\Novell\GroupWise Server\agents\data\wsdl
>> /opt/novell/groupwise/agents/data/wsdl
>>
>> Preston
>>
>>
>>

>>>>>

>>

>>> I have one question.
>>>
>>> Is there a new WSDL file available at the moment?
>>>
>>>
>>> Hans
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

>> 19:08 >>>

>>>
>>>
>>> I put the change.
>>>
>>> I added two new flags to FolderFlags:
>>> <xs:complexType name="FolderFlags">
>>> <xs:sequence>
>>> <xs:element name="firstUnread" type="xs:boolean"
>>>minOccurs="0"/>
>>> <xs:element name="hidden" type="xs:boolean" minOccurs="0"/>
>>> <xs:element name="protected" type="xs:boolean"

>> minOccurs="0"/>

>>> <xs:element name="unnamed" type="xs:boolean"

minOccurs="0"/>

>>> <xs:element name="shareTree" type="xs:boolean"

>> minOccurs="0"/>

>>> <xs:element name="shareSub" type="xs:boolean"

> minOccurs="0"/>

>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>> At the time you share a folder, you specify
>>> <flags><shareTree>true</shareTree></flags>
>>>
>>> If that is set, all of the sub folders will be shared as well.
>>>
>>> That is the only time you can set <shareTree>.
>>> After that <shareTree> and <shareSub> are read‑only.
>>>
>>> The <shareTree> flag will be set on the root of the shared folder tree.
>>> Each sub folder will have <shareSub>
>>>
>>> You will only see the flags if you login to a Cornell (R2) (or later)
>>> POA,
>>> passing version "1.07" (or greater).
>>>
>>> Let me know if you have questions.
>>>
>>> Preston
>>>
>>>
>>>
>>>>>>
>>>
>>>> Thank you
>>>>
>>>> Is it in the R2 release or will it be later?
>>>>
>>>>
>>>> Hans
>>>>
>>>>
>>>>
>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>> 16:06 >>>
>>>>
>>>>
>>>> That functionality is currently not available.
>>>> I'll look into adding it in the next major release.
>>>>
>>>> Preston
>>>>
>>>>
>>>>
>>>>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>> I'm able to share a single folder with SOAP, how can you share a
>>>>> complete "folder tree" without share all subfolders individually?
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Hans
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

It be a day or two before I can look at it in detail.
I believe if you put "fullACL" in the view when you get folders, you will
get the full list.

Preston


>>>


> Is there an option in SOAP for finding all the acl's for a folder that
> is "shared to me".
>
> In the GW‑Client you can see who has also rights to the shared folder

and
> the access‑rights, you can't see the status. In SOAP I can only

retreive
> the owner and the access‑rights for "my‑self" (the loggged‑in

user).
>
>
> Hans
>
>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 8 Juli 2015

19:02 >>>
>
>
> Someone will reach out to you to join the beta.
> Let me know if you don't get contacted.
>
> Preston
>
>
>
>>>>

>
>> Do you know how I can get the (beta) versions of GW14.2.0?
>>
>> At the moment I have to ask others for a new beta version.
>>
>>
>> Hans
>>
>>>>> Preston Stephenson<PStephenson@gw.novell.com> Dinsdag 7 Juli 2015

22:38
>>>>

>>
>>
>> Sorry, I dropped through the debugger in testing one path and didn't
>> update
>> the code after that.
>> I put that fix.
>> It will be in a 14.2.0 build greater or equal to 120803.
>>
>> The little of the soap trace that you posted may be wrong.
>> Just in case, here is my test and soap trace:
>>
>> private void testAddShare()
>> {
>> FolderACL acl = new FolderACL();
>> FolderACLEntry entry = new FolderACLEntry();
>> FolderFlags flags = new FolderFlags();
>> ItemChanges upds = new ItemChanges();
>> ModifyItemRequest request = new ModifyItemRequest();
>> Rights rights = new Rights();
>> SharedFolder folder = new SharedFolder();
>> SharedFolderNotification sfn = new SharedFolderNotification();
>>
>> entry.setDisplayName("Jay Parker");
>> entry.setEmail("jay.parker@prestons.provo.novell.com");
>> rights.setAdd(true);
>> rights.setRead(true);
>> entry.setRights(rights);
>> acl.getEntry().add(entry);
>> folder.setAcl(acl);
>> flags.setShareTree(true);
>> folder.setFlags(flags);
>> upds.setAdd(folder);
>>
>> sfn.setMessage("Please accept this folder");
>> sfn.setSubject("sfn: accept this folder");
>> request.setNotification(sfn);
>> request.setUpdates(upds);
>> request.setId(getFolderId());
>> port.modifyItemRequest(request);
>> }
>>
>> <?xml version="1.0" encoding="UTF‑8"?><S:Envelope
>> xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:SOAP‑ENV="http://schemas.xmlsoap.org/soap/envelope/">
>> <S:Header>
>> <session
>>

xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4G
>> U</
>> session>
>> </S:Header>
>> <S:Body>
>> <ns3:modifyItemRequest
>> xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
>> xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
>> xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
>> <ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
>> <ns3:notification>
>> <subject>sfn: accept this folder</subject>
>> <message>Please accept this folder</message>
>> </ns3:notification>
>> <ns3:updates>
>> <add xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
>> xsi:type="SharedFolder">
>> <flags>
>> <shareTree>true</shareTree>
>> </flags>
>> <acl>
>> <entry>
>> <displayName>Jay Parker</displayName>
>> <email>jay.parker@prestons.provo.novell.com</email>
>> <rights>
>> <read>true</read>
>> <add>true</add>
>> </rights>
>> </entry>
>> </acl>
>> </add>
>> </ns3:updates>
>> </ns3:modifyItemRequest>
>> </S:Body>
>> </S:Envelope>
>>
>> Let me know if you still have a problem.
>>
>> Preston
>>
>>
>>
>>
>>>>>

>>
>>> Hello Preston,
>>>
>>>
>>> I still have a problem sharing a foldertree.
>>>
>>>
>>> I just install a GW‑system with PostOffice verson: 14.2.0 ß

> ‑120742.
>> (on
>>> linux)
>>> Does this version support then foldertree share?
>>>
>>>
>>> I login and set version to 1.07 during login.
>>>
>>>
>>> Then I try to share a folder tree.
>>> (this folder is not shared yet).
>>>
>>>
>>> I tried the following:
>>> <modifyItemRequest>
>>> <id>...</id>
>>> <notification>...</notification>
>>> <flags><shareTree>True</shareTree></flags>
>>> <updates>
>>> <acl>....</acl>
>>> </updates>
>>> </modifyItemRequest>
>>>
>>>
>>> Is this constuction correct?
>>>
>>>
>>> Hans
>>>
>>>
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015

>> 22:19 >>>
>>>
>>>
>>> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
>>> (This was a recent numbering change.)
>>>
>>> The schema is copied with the executable.
>>> \Program Files\Novell\GroupWise Server\agents\data\wsdl
>>> /opt/novell/groupwise/agents/data/wsdl
>>>
>>> Preston
>>>
>>>
>>>
>>>>>>
>>>
>>>> I have one question.
>>>>
>>>> Is there a new WSDL file available at the moment?
>>>>
>>>>
>>>> Hans
>>>>
>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>> 19:08 >>>
>>>>
>>>>
>>>> I put the change.
>>>>
>>>> I added two new flags to FolderFlags:
>>>> <xs:complexType name="FolderFlags">
>>>> <xs:sequence>
>>>> <xs:element name="firstUnread" type="xs:boolean"
>>>>minOccurs="0"/>
>>>> <xs:element name="hidden" type="xs:boolean"

minOccurs="0"/>
>>>> <xs:element name="protected" type="xs:boolean"
>>> minOccurs="0"/>
>>>> <xs:element name="unnamed" type="xs:boolean"

> minOccurs="0"/>
>>>> <xs:element name="shareTree" type="xs:boolean"
>>> minOccurs="0"/>
>>>> <xs:element name="shareSub" type="xs:boolean"

>> minOccurs="0"/>
>>>> </xs:sequence>
>>>> </xs:complexType>
>>>>
>>>> At the time you share a folder, you specify
>>>> <flags><shareTree>true</shareTree></flags>
>>>>
>>>> If that is set, all of the sub folders will be shared as well.
>>>>
>>>> That is the only time you can set <shareTree>.
>>>> After that <shareTree> and <shareSub> are read‑only.
>>>>
>>>> The <shareTree> flag will be set on the root of the shared folder

tree.
>>>> Each sub folder will have <shareSub>
>>>>
>>>> You will only see the flags if you login to a Cornell (R2) (or later)


>>>> POA,
>>>> passing version "1.07" (or greater).
>>>>
>>>> Let me know if you have questions.
>>>>
>>>> Preston
>>>>
>>>>
>>>>
>>>>>>>
>>>>
>>>>> Thank you
>>>>>
>>>>> Is it in the R2 release or will it be later?
>>>>>
>>>>>
>>>>> Hans
>>>>>
>>>>>
>>>>>
>>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>>> 16:06 >>>
>>>>>
>>>>>
>>>>> That functionality is currently not available.
>>>>> I'll look into adding it in the next major release.
>>>>>
>>>>> Preston
>>>>>
>>>>>
>>>>>
>>>>>>>>
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>
>>>>>> I'm able to share a single folder with SOAP, how can you share a
>>>>>> complete "folder tree" without share all subfolders individually?
>>>>>>
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Hans

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How to share a folder tree with soap

I did verify that you need to put in "fullACL".
Let me know if you have a problem.

Preston



>>>

> It be a day or two before I can look at it in detail.
> I believe if you put "fullACL" in the view when you get folders, you
> will
> get the full list.
>
> Preston
>
>
>>>>

>
>> Is there an option in SOAP for finding all the acl's for a folder that
>> is "shared to me".
>>
>> In the GW‑Client you can see who has also rights to the shared folder

> and
>> the access‑rights, you can't see the status. In SOAP I can only

> retreive
>> the owner and the access‑rights for "my‑self" (the loggged‑in

> user).
>>
>>
>> Hans
>>
>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 8 Juli 2015

> 19:02 >>>
>>
>>
>> Someone will reach out to you to join the beta.
>> Let me know if you don't get contacted.
>>
>> Preston
>>
>>
>>
>>>>>

>>
>>> Do you know how I can get the (beta) versions of GW14.2.0?
>>>
>>> At the moment I have to ask others for a new beta version.
>>>
>>>
>>> Hans
>>>
>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Dinsdag 7 Juli 2015

> 22:38
>>>>>
>>>
>>>
>>> Sorry, I dropped through the debugger in testing one path and didn't
>>> update
>>> the code after that.
>>> I put that fix.
>>> It will be in a 14.2.0 build greater or equal to 120803.
>>>
>>> The little of the soap trace that you posted may be wrong.
>>> Just in case, here is my test and soap trace:
>>>
>>> private void testAddShare()
>>> {
>>> FolderACL acl = new FolderACL();
>>> FolderACLEntry entry = new FolderACLEntry();
>>> FolderFlags flags = new FolderFlags();
>>> ItemChanges upds = new ItemChanges();
>>> ModifyItemRequest request = new ModifyItemRequest();
>>> Rights rights = new Rights();
>>> SharedFolder folder = new SharedFolder();
>>> SharedFolderNotification sfn = new SharedFolderNotification();
>>>
>>> entry.setDisplayName("Jay Parker");
>>> entry.setEmail("jay.parker@prestons.provo.novell.com");
>>> rights.setAdd(true);
>>> rights.setRead(true);
>>> entry.setRights(rights);
>>> acl.getEntry().add(entry);
>>> folder.setAcl(acl);
>>> flags.setShareTree(true);
>>> folder.setFlags(flags);
>>> upds.setAdd(folder);
>>>
>>> sfn.setMessage("Please accept this folder");
>>> sfn.setSubject("sfn: accept this folder");
>>> request.setNotification(sfn);
>>> request.setUpdates(upds);
>>> request.setId(getFolderId());
>>> port.modifyItemRequest(request);
>>> }
>>>
>>> <?xml version="1.0" encoding="UTF‑8"?><S:Envelope
>>> xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
>>> xmlns:SOAP‑ENV="http://schemas.xmlsoap.org/soap/envelope/">
>>> <S:Header>
>>> <session
>>>

> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">EqqhxYL_7G_qx4G
>>> U</
>>> session>
>>> </S:Header>
>>> <S:Body>
>>> <ns3:modifyItemRequest
>>> xmlns="http://schemas.novell.com/2005/01/GroupWise/types"
>>> xmlns:ns2="http://schemas.novell.com/2005/01/GroupWise/events"
>>> xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/methods">
>>> <ns3:id>48A26F09.domain.PO1.100.1776172.1.254A.1@13</ns3:id>
>>> <ns3:notification>
>>> <subject>sfn: accept this folder</subject>
>>> <message>Please accept this folder</message>
>>> </ns3:notification>
>>> <ns3:updates>
>>> <add xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
>>> xsi:type="SharedFolder">
>>> <flags>
>>> <shareTree>true</shareTree>
>>> </flags>
>>> <acl>
>>> <entry>
>>> <displayName>Jay Parker</displayName>
>>> <email>jay.parker@prestons.provo.novell.com</email>
>>> <rights>
>>> <read>true</read>
>>> <add>true</add>
>>> </rights>
>>> </entry>
>>> </acl>
>>> </add>
>>> </ns3:updates>
>>> </ns3:modifyItemRequest>
>>> </S:Body>
>>> </S:Envelope>
>>>
>>> Let me know if you still have a problem.
>>>
>>> Preston
>>>
>>>
>>>
>>>
>>>>>>
>>>
>>>> Hello Preston,
>>>>
>>>>
>>>> I still have a problem sharing a foldertree.
>>>>
>>>>
>>>> I just install a GW‑system with PostOffice verson: 14.2.0 ß

>> ‑120742.
>>> (on
>>>> linux)
>>>> Does this version support then foldertree share?
>>>>
>>>>
>>>> I login and set version to 1.07 during login.
>>>>
>>>>
>>>> Then I try to share a folder tree.
>>>> (this folder is not shared yet).
>>>>
>>>>
>>>> I tried the following:
>>>> <modifyItemRequest>
>>>> <id>...</id>
>>>> <notification>...</notification>
>>>> <flags><shareTree>True</shareTree></flags>
>>>> <updates>
>>>> <acl>....</acl>
>>>> </updates>
>>>> </modifyItemRequest>
>>>>
>>>>
>>>> Is this constuction correct?
>>>>
>>>>
>>>> Hans
>>>>
>>>>
>>>>
>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>> 22:19 >>>
>>>>
>>>>
>>>> The R2 builds are gw14.2.0‑xxx (not gw14.0.2‑xxx).
>>>> (This was a recent numbering change.)
>>>>
>>>> The schema is copied with the executable.
>>>> \Program Files\Novell\GroupWise Server\agents\data\wsdl
>>>> /opt/novell/groupwise/agents/data/wsdl
>>>>
>>>> Preston
>>>>
>>>>
>>>>
>>>>>>>
>>>>
>>>>> I have one question.
>>>>>
>>>>> Is there a new WSDL file available at the moment?
>>>>>
>>>>>
>>>>> Hans
>>>>>
>>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli 2015
>>>> 19:08 >>>
>>>>>
>>>>>
>>>>> I put the change.
>>>>>
>>>>> I added two new flags to FolderFlags:
>>>>> <xs:complexType name="FolderFlags">
>>>>> <xs:sequence>
>>>>> <xs:element name="firstUnread" type="xs:boolean"
>>>>>minOccurs="0"/>
>>>>> <xs:element name="hidden" type="xs:boolean"

> minOccurs="0"/>
>>>>> <xs:element name="protected" type="xs:boolean"
>>>> minOccurs="0"/>
>>>>> <xs:element name="unnamed" type="xs:boolean"

>> minOccurs="0"/>
>>>>> <xs:element name="shareTree" type="xs:boolean"
>>>> minOccurs="0"/>
>>>>> <xs:element name="shareSub" type="xs:boolean"
>>> minOccurs="0"/>
>>>>> </xs:sequence>
>>>>> </xs:complexType>
>>>>>
>>>>> At the time you share a folder, you specify
>>>>> <flags><shareTree>true</shareTree></flags>
>>>>>
>>>>> If that is set, all of the sub folders will be shared as well.
>>>>>
>>>>> That is the only time you can set <shareTree>.
>>>>> After that <shareTree> and <shareSub> are read‑only.
>>>>>
>>>>> The <shareTree> flag will be set on the root of the shared folder

> tree.
>>>>> Each sub folder will have <shareSub>
>>>>>
>>>>> You will only see the flags if you login to a Cornell (R2) (or

later)
>
>>>>> POA,
>>>>> passing version "1.07" (or greater).
>>>>>
>>>>> Let me know if you have questions.
>>>>>
>>>>> Preston
>>>>>
>>>>>
>>>>>
>>>>>>>>
>>>>>
>>>>>> Thank you
>>>>>>
>>>>>> Is it in the R2 release or will it be later?
>>>>>>
>>>>>>
>>>>>> Hans
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> Preston Stephenson<PStephenson@gw.novell.com> Woensdag 1 Juli

2015
>>>>> 16:06 >>>
>>>>>>
>>>>>>
>>>>>> That functionality is currently not available.
>>>>>> I'll look into adding it in the next major release.
>>>>>>
>>>>>> Preston
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>>
>>>>>>> I'm able to share a single folder with SOAP, how can you share a
>>>>>>> complete "folder tree" without share all subfolders individually?
>>>>>>>
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> Hans

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.