Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] 'edit start and end date' with WS

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] 'edit start and end date' with WS

Chronological Thread 
  • From: Chris Hyzer <>
  • To: Francesco Malvezzi <>, grouper-users <>
  • Subject: RE: [grouper-users] 'edit start and end date' with WS
  • Date: Wed, 18 Apr 2012 13:25:36 +0000
  • Accept-language: en-US

See if there is a membership, then call addMember with a disabled date...
does that work for you?


on behalf of Francesco Malvezzi
Sent: Wednesday, April 18, 2012 8:48 AM
To: grouper-users
Subject: [grouper-users] 'edit start and end date' with WS

Hi all,

We are now planning to make a bulk edit of many members' start and end date.

While the procedure with gsh works:

subj = findSubject("a_member");
sess = GrouperSession.start(subj);
member = MemberFinder.findBySubject(sess, subj, false);
group = GroupFinder.findByName(sess, "a_stem:a_group");
membership = group.getImmediateMembership(Group.getDefaultList(),
member, true, true);

We are not able to find a way to replicate with ws. At this moment the
stopper is the membership query.

Following the documentation at:

curl -k -K .curlrc
cat .curlrc
url =
user = "GrouperSystem:secret"

I always receive:

0 results involving 0 groups and 0

With a suspicious log entry:
2012-04-18 14:44:46,309: [TP-Processor12] INFO - <
GrouperSystem - > -
session: start (1ms)
2012-04-18 14:44:46,312: [TP-Processor12] WARN
WsStemLookup.retrieveStemIfNeeded(193) - < GrouperSystem - > - Invalid query: WsStemLookup[

So, my question is: which is the preferred path of WS queries to update
start and end date for a member?

Than: where could I look to fix the membership WS? (please note the
groups WS works fine).

Thank you for your time,


Archive powered by MHonArc 2.6.16.

Top of Page