Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Setting attributes via soap client

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Setting attributes via soap client


Chronological Thread 
  • From: Rob Urquhart <>
  • To: Chris Hyzer <>,
  • Subject: Re: [grouper-users] Setting attributes via soap client
  • Date: Fri, 1 Apr 2011 12:17:24 -0700

Thanks Chris! Setting the attributes in the group detail and doing saveGroup
works.

Rob

On 2011-04-01, at 11:27 AM, Chris Hyzer wrote:

> Right, if you do a savegroup it will work...
>
> But another thing is that the loader has to be restarted to pickup changes,
> though there is a jira request to fix that at some point. You could
> restart your loader daily or something in the meantime...
>
> Chris
>
> -----Original Message-----
> From: Rob Urquhart
> [mailto:]
>
> Sent: Friday, April 01, 2011 2:26 PM
> To: Chris Hyzer
> Subject: Re: [grouper-users] Setting attributes via soap client
>
> Oh, I see. So, even if I am able to set the attributes using the new
> attribute framework, the loader may not process that group?
>
> Rob
>
> On 2011-04-01, at 11:00 AM, Chris Hyzer wrote:
>
>> That's what Im saying about the web service you are calling is the new
>> attribute framework, but the gsh call (and what I think is the only thing
>> the loader runs off of) is the old attribute framework. :)
>>
>> I think you need to call a GroupSave web service call, and in the group
>> detail, you can set the type of the loader, and set attribute names and
>> values...
>>
>> Thanks,
>> Chris
>>
>> -----Original Message-----
>> From: Rob Urquhart
>> [mailto:]
>>
>> Sent: Friday, April 01, 2011 1:55 PM
>> To: Chris Hyzer;
>>
>> Subject: Re: [grouper-users] Setting attributes via soap client
>>
>> Hi Chris. Thanks for your response.
>> I did see that in the documentation and I am specifying all the "unused"
>> params as empty strings. The soap request that gets generated looks right
>> to me. (See attached).
>> However, I think the problem may be that my db didn't get set up properly.
>> The Hib3AttributeDefNameDAO.findByNameSecure method which throws the
>> AttributeDefNotFoundException is doing a search on the AttributeDefName
>> entity, but the grouper_attribute_def_name table is empty. Oddly, this
>> doesn't affect adding attributes via gsh. For example,
>> setGroupAttr("robert:testGroup1","grouperLoaderDbName", "grouper") works
>> fine.
>> Do I need to rerun the db setup?
>>
>> Rob
>
> --
> Rob Urquhart
> Institutional, Collaborative, and Academic Technologies (ICAT)
> IT Services
> Simon Fraser University
> 778-782-3650
>
>
>
>
>
>

--
Rob Urquhart
Institutional, Collaborative, and Academic Technologies (ICAT)
IT Services
Simon Fraser University
778-782-3650









Archive powered by MHonArc 2.6.16.

Top of Page