grouper-users - Re: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult
Subject: Grouper Users - Open Discussion List
List archive
Re: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult
Chronological Thread
- From: Helen Feder <>
- To: "Hyzer, Chris" <>, "" <>
- Subject: Re: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult
- Date: Mon, 4 Dec 2017 22:20:27 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:MYK6Zh2MpAjywtOJsmDT+DRfVm0co7zxezQtwd8ZseMTKPad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmiDkJOSMl8G/ZicJwgqBUrxygpxNjzIDbb5qYNOZlca/BYd8WWXBMU8RXWidcAo28dYwPD+8ZMOhasYb9o0UBrR2jDgesGuzg1yFHhmXr1qA90+QhCw/G0Rc6ENIIrXvUtsv6NakIXe+pyanI0C/PYO1L1jfg8YXFdA0qr/+LXbJ1a8XRyE8vGhvKjlWKrozlIiuV2foXs2eH6+pgVPygi2g7qw1rrDmv3d8giojPhoIJ1F/E7yN5z5gpJdGmUkJ0f8OrEIZIuyGVNot2XsMiQ3xztyog1rIGvpu7cS4Xw5ok3x7Sc+GLf5aL7x75SuqdOyp0iG5ldb6lmhq+70atxvXhWsWq01tGtDRJnsPDu3wTzRDe5dCLRuZj8kqiwzqDyRrf5vxYLU00j6bWL5wsz7gtnZQJq0vDBDX5mEDuga+WaEok/u+o5vz9Yrr4op+TLY91hhjgPaUhhsO/Af43Mg4BX2eF4+izzrvj8lDjQLpUgPw6iLXWsJXHJcgBuKG2HhJV3p4i6xa5ETimzMwVkWQZIF9GYh6LkZLlN0zSLP34F/uznkqgnTlzy/DDJLLhA5HNLnbZkLfmeLZw805cyBA9zd1E/Z1UDKwOIOjtVU7/rtDXEho5MxGuz+n5Fdp9y5sSWXiTDa+BLKPSrViI6/ogI+mWY48VpS79JOY/5/L3kH85gkESfbOy3ZYMbHC4H+9mI1mCYXbymNsBEGEKvhYgQ+zwjl2NTyJTa2ioU60i+z47FdHuMYCWDKC8krGbmG+QHodXfSoOXlWHEWb6ep+sWuwHLj+KL8ln1DEISO7lA8UuzxazrALgjqd8I/DP0iweqZ/50tVpvavemQx4vWh7FcOAy2yXCnxvk3kTbz4wwK1lp0FhkBGO3bUu0NJCEtkGx/5NXwFyG5PQwvYyX9DoVCrIeNuTRUngSdC7Rzw9U4RikJc1f09hFoD63Vj41C2wDupNmg==
Hi Chris,
Thanks for the quick response.
I am writing a small custom report app that I planned to have go directly
against the web service so am not sure that I should use the command line
client tool that you recommended or try to figure out how to modify your code
for our purposes. In this app, the logic involves looking at group and stem
memberships. Need to know which members are direct vs. indirect; for group
members need to find what other groups they are members of in a specific stem
or if the member is a member of another specific group, etc
Also I have a small interactive piece where they enter their credentials
which I pass to the web services via basic auth to enable the permissions,
etc. that are in grouper to be used.
I have a fair amount of the code written and working using the Lite methods
against the Grouper Web Services.
So – can’t I just use the Groupser-ws.jar to get the class
WsGetMembersLiteResult ?
Or is that going to cause me other problems?
Helen
On 12/4/17, 3:52 PM, "Hyzer, Chris"
<>
wrote:
https://software.internet2.edu/grouper/release/2.2.1/grouper.clientBinary-2.2.1.tar.gz
Get the grouper client.
The code you referenced is mainly to generate the JSON, not really to
use, sorry.
Instead do something like this:
https://github.com/Internet2/grouper/blob/GROUPER_2_2_1/grouper-misc/grouperClient/src/java/edu/internet2/middleware/grouperClient/GrouperClient.java
GcGetMembers gcGetMembers = new GcGetMembers();
gcGetMembers.addGroupName(groupName);
WsGetMembersResults wsGetMembersResults = gcGetMembers.execute();
Thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of
Sent: Monday, December 04, 2017 3:27 PM
To:
Subject: [grouper-users] grouperClient-2.2.1 does not seem to have bean
class WsGetMembersLiteResult
We have grouper 2.2.1 installed. I have been looking at the sample code
for
here -->
https://github.com/Internet2/grouper/blob/GROUPER_2_2_1-branch/grouper-ws/grou
per-ws/doc/samples/getMembers/WsSampleGetMembersRestLite2_withInput_http_json.
txt
In my java code (using Maven) I have this dependency:
<dependency>
<groupId>edu.internet2.middleware.grouper</groupId>
<artifactId>grouperClient</artifactId>
<version>2.2.1</version>
</dependency>
Trying to replicate the code but the client jar does not contain the
edu.internet2.middleware.grouperClient.ws.beans.WsRestGetMembersLiteRequest
that appears in the sample code for that branch in the documentation.
What is the fix for this?
Helen Feder
Carnegie Mellon University
- [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, hrf, 12/04/2017
- RE: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, Hyzer, Chris, 12/04/2017
- Re: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, Helen Feder, 12/04/2017
- RE: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, Hyzer, Chris, 12/05/2017
- Re: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, Helen Feder, 12/04/2017
- RE: [grouper-users] grouperClient-2.2.1 does not seem to have bean class WsGetMembersLiteResult, Hyzer, Chris, 12/04/2017
Archive powered by MHonArc 2.6.19.