Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] help running sample WsSampleGetGroupsRest

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] help running sample WsSampleGetGroupsRest


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Sammy C. Lee" <>, "" <>
  • Subject: RE: [grouper-users] help running sample WsSampleGetGroupsRest
  • Date: Thu, 16 Oct 2014 19:05:16 +0000
  • Accept-language: en-US

Use the grouperClient.jar

 

Look in the API package and call one of those, something like this:

 

WsGetGroupsResults wsGetGroupsResults = new GcGetGroups().addSubjectIdentifier("jsmith").execute();

 

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Sammy C. Lee
Sent: Thursday, October 16, 2014 2:58 PM
To:
Subject: [grouper-users] help running sample WsSampleGetGroupsRest

 

Hi all,

 

I am a newbie here and just trying to get comfortable grabbing data from our grouper database.

 

I was able to do so using a http connection via my java code, but I want to see if there's another simpler way to do so.  So I'm trying to get this sample code:

 

http://anonsvn.internet2.edu/viewvc/viewvc.py/i2mi/trunk/grouper-ws/grouper-ws/src/test/edu/internet2/middleware/grouper/ws/samples/rest/group/WsSampleGetGroupsRest.java?revision=8415&view=co

 

to run but can't seem to get it to compile as I can't seem to locate these classes in the import statements:

 

import edu.internet2.middleware.grouper.ws.coresoap.WsGetGroupsResults;

import edu.internet2.middleware.grouper.ws.coresoap.WsSubjectLookup;

import edu.internet2.middleware.grouper.ws.rest.WsRestResultProblem;

import edu.internet2.middleware.grouper.ws.rest.group.WsRestGetGroupsRequest;

 

if someone could point me to them, that would be wonderful.

 

thanks so much!

- Sammy




Archive powered by MHonArc 2.6.16.

Top of Page