Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] web services, updating new attributes

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] web services, updating new attributes


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Steven Carmody <>, Grouper-Users <>
  • Subject: RE: [grouper-users] web services, updating new attributes
  • Date: Fri, 30 Sep 2016 16:53:00 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:aJSH1BPr9iz4D+In3jUl6mtUPXoX/o7sNwtQ0KIMzox0KPn4rarrMEGX3/hxlliBBdydsK0UzbeN+Pm9EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i76xXcoFx7+LQt4IPjuUs6X1pzvlrP6x5qGWBlFmje7KZh7NhCxoRSZ4tIKjJVvLJE6wwHMpXdZU+5MwnxuY1+fgkC4ruiq+4N7/j4Vhuks7dUIBargeLkgQKYdES8rKXsd5cv3uAPFQBfVoHYQTzNFvABPBl2PzADoU421+gD6rOtmkmHOOMb2XKI5Qxyj9KwtVQfljiFBOjIkpjKEwvdshb5W9Ury7yd0xJTZNcTMbKJz
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I think you need to see the logs and request/response to see whats going on :)

Remove an attribute? AttributeAssignOperation remove_attr?

Thanks
Chris


-----Original Message-----
From:


[mailto:]
On Behalf Of Steven Carmody
Sent: Friday, September 30, 2016 12:47 PM
To: Grouper-Users
<>
Subject: [grouper-users] web services, updating new attributes

Hi,

we have some PHP code that is attempting to update some "new" attributes
on a group object. The php/soap invocation code is at the bottom of this
note.

I believe the attributes are all defined in the same way. All have
previously assigned values. However, I'm getting failures on some of them:

[etc:brown:attribute:allTargetsGroupName] => SUCCESS
[etc:brown:attribute:sympaListName] => INVALID_QUERY
[etc:brown:attribute:sympaListSenderGroup] => INVALID_QUERY

I suspect that the one that succeeds isn't actually changing the value;
the other two calls are changing the value.

Should I be using different operation values to accomplish this update ?

Also -- is there a web services function to remove an existing new
attribute from a group object ?

thanks very much !

try {
$params = array(
'clientVersion' =>
Kohana::$config->load('grouper.GROUPER_WS_VERSION'),
'attributeAssignType' => 'group',
'wsOwnerGroupName' => $id,
'wsAttributeDefNameName' => $k,
'valueSystem' => $v,
'attributeAssignOperation' => 'assign_attr',
'attributeAssignValueOperation' => 'replace_values',

);




Archive powered by MHonArc 2.6.19.

Top of Page