Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Simple WS client

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Simple WS client

Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Imholz, John J." <>
  • Cc: "" <>
  • Subject: [grouper-users] RE: Simple WS client
  • Date: Wed, 16 Apr 2014 20:50:39 +0000
  • Accept-language: en-US

Its easy, just add the jar, and the config file to the classpath, and make an
API call:

Something like:

new GcHasMember().addSubjectId("123").assignGroupName("a:b").execute();

Then the results object is there and in there is if it is a member


-----Original Message-----
From: Imholz, John J.

Sent: Wednesday, April 16, 2014 3:46 PM
To: Chris Hyzer

Subject: RE: Simple WS client

Thanks, that was helpful.

I'm successfully checking membership with the command line.

I now want to make it easy to check for group membership from these .jsp
pages. I assume I have to put grouperClient.jar (or a different jar in the
lib directory) and call directly with java. That's why I was trying to
compile earlier.


-----Original Message-----
From: Chris Hyzer

Sent: Wednesday, April 16, 2014 2:31 PM
To: Imholz, John J.

Subject: RE: Simple WS client

You can use the grouper client which is one jar and supports the entire REST

Download the version for the grouper WS you have, and you need a file, and it should work fine. No compiling

the SOAP client uses Axis which is overkill, its really only for testing.


-----Original Message-----

On Behalf Of Imholz, John J.
Sent: Wednesday, April 16, 2014 1:34 PM
Subject: [grouper-users] Simple WS client

Is there a resource that shows how to compile and execute the example java
code in the samples documentation?

I've using our web service with perl, but now I have a need for a Java client
(not a lot of Java expertise here, but there are a couple of JSP pages that
need Grouper data.)

I've struggled to get even a simple Java example to compile (I've probably
confused myself in trying too many different things like: wsdl2java and
wsimport.) So I'm looking for what it takes to compile and run the sample
code provided in the doc (e.g.

Any help will be appreciated.


Archive powered by MHonArc 2.6.16.

Top of Page