grouper-users - RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group
Chronological Thread
- From: Chris Hyzer <>
- To: "" <>, Grouper Users Mailing List <>
- Subject: RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group
- Date: Wed, 7 Jan 2009 10:11:20 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
Axis has a terrible bug that I have been following up on with them, and they
say it will be fixed in the next release (who really knows though):
https://issues.apache.org/jira/browse/AXIS2-3364
Basically, if you us SOAP with grouper-ws, you have to pass every single
param before any param you are sending (the order is in the WSDL). E.g. if
you want to say groupSave.setIncludeGroupDetail("T"), then you must also set
the String params before it (I believe that is how it works). And if you
don’t need it set, just use the empty string. E.g.
groupSave.setTxType("");
groupSave.setIncludeGroupDetail("T");
Then it will work. Again though, with REST it is not a problem (since it
doesn’t use Axis), and the grouperClient uses REST, so it wont have that
problem. Maybe I should do all the examples with the grouper client so
people can see how it would work? Are you interested in changing to it, or
do you already have too much code with the old way?
Thanks!
Chris
> -----Original Message-----
> From: Dr. Loris Bennett
> [mailto:]
> Sent: Wednesday, January 07, 2009 9:58 AM
> To: Grouper Users Mailing List
> Subject: [grouper-users] Grouper 1.4.0 WS: Values for
> setIncludeGroupDetail when saving group
>
> Hi,
>
> When I try to save a group
>
> groupSave.setIncludeGroupDetail("T")
>
> which worked with 1.3.0, I now get
>
> Invalid txType: 'T', Cant find GrouperTransactionType from
> string: 'T', expecting one of: READONLY_OR_USE_EXISTING, NONE,
> READONLY_NEW, READ_WRITE_OR_USE_EXISTING, READ_WRITE_NEW, null
>
> Passing "" works. Is this behaviour correct? I couldn't find where this
> is documented.
>
> Cheers,
>
> Loris
>
>
> --
> Dr. Loris Bennett (Mr.)
> Freie Universität Berlin
> ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
> Compute & Media Service
> Fabeckstr. 32, Room 221
> D-14195 Berlin
> Tel ++49 30 838 51024
> Fax ++49 30 838 56721
>
> Web www.zedat.fu-berlin.de
- Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group, Dr. Loris Bennett, 01/07/2009
- RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group, Chris Hyzer, 01/07/2009
- RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group, Dr. Loris Bennett, 01/09/2009
- RE: [grouper-users] Grouper 1.4.0 WS: Values for setIncludeGroupDetail when saving group, Chris Hyzer, 01/07/2009
Archive powered by MHonArc 2.6.16.