Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Subject external attributes retrieval

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Subject external attributes retrieval


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Martin van Es <>
  • Cc: Grouper Users Mailing List <>
  • Subject: RE: [grouper-users] Subject external attributes retrieval
  • Date: Wed, 18 Feb 2009 14:51:53 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

I think I was using the same source as you were, though it might have had a
different name.

Bottom line is it does work, if the sample I showed you is acceptable to
prove it.

Can you send the full XML request and response? Or did you already send it?
Ive never seen the param1, param2, etc syntax. Is that an Axis Rest thing?
I think it would be better to explicitly name your params like in the
samples...

http://viewvc.internet2.edu/viewvc.py/grouper-ws/grouper-ws/doc/samples/getGroups/?root=I2MI&pathrev=HEAD

in any case, I can put some debug info if you would like and we can narrow
down why it doesn't work... are you interested?

Thanks,
Chris


> -----Original Message-----
> From: Martin van Es
> [mailto:]
> Sent: Wednesday, February 18, 2009 7:05 AM
> To: Chris Hyzer
> Cc: Grouper Users Mailing List
> Subject: Re: [grouper-users] Subject external attributes retrieval
>
> Chris,
>
> On Monday 16 February 2009 18:10:11 Chris Hyzer wrote:
> > I fixed this in the latest 1.4 branch, can you get the latest 1.4
> branch and
> > try again?
>
> I did and it didn't help, as I expected because you tested it on the
> internal
> source(?). I still don't get a description attribute, nor value
> although I ask
> for it explicitly by supplying it as parameter 10 in getGroupsLite:
>
> <ns1:getGroupsLite
> xmlns:ns1="http://soap.ws.grouper.middleware.internet2.edu/xsd";>
> <ns1:param0>v1_3_000</ns1:param0>
> <ns1:param1>$_GET[user]</ns1:param1>
> <ns1:param2></ns1:param2>
> <ns1:param3></ns1:param3>
> <ns1:param4>All</ns1:param4>
> <ns1:param5></ns1:param5>
> <ns1:param6></ns1:param6>
> <ns1:param7></ns1:param7>
> <ns1:param8>true</ns1:param8>
> <ns1:param9>true</ns1:param9>
> <ns1:param10>description</ns1:param10>
>
> Answer:
> <ns:getGroupsLiteResponse>
> <ns:return
> type="edu.internet2.middleware.grouper.ws.soap.WsGetGroupsLiteResult">
> <ns:responseMetadata
> type="edu.internet2.middleware.grouper.ws.soap.WsResponseMeta">
> <ns:millis>102</ns:millis>
> <ns:resultWarnings xsi:nil="true"/>
> <ns:serverVersion>v1_4_001</ns:serverVersion>
> </ns:responseMetadata>
> <ns:resultMetadata
> type="edu.internet2.middleware.grouper.ws.soap.WsResultMeta">
> <ns:params xsi:nil="true"/>
> <ns:resultCode>SUCCESS</ns:resultCode>
> <ns:resultCode2 xsi:nil="true"/>
> <ns:resultMessage>
> Success for: clientVersion: v1_3_000, subjectLookups: Array size: 1:
> [0]:
> WsSubjectLookup[subjectId=mrvanes,subjectIdentifier=,subjectSourceId=]
>
> memberFilter: All, includeGroupDetail: true, actAsSubject:
> WsSubjectLookup[subjectId=,subjectIdentifier=,subjectSourceId=]
> , params: null
> </ns:resultMessage>
> <ns:success>T</ns:success>
> </ns:resultMetadata>
> <ns:subjectAttributeNames xsi:nil="true"/>
> <ns:wsGroups type="edu.internet2.middleware.grouper.ws.soap.WsGroup">
> <ns:description xsi:nil="true"/>
> <ns:detail
> type="edu.internet2.middleware.grouper.ws.soap.WsGroupDetail">
> <ns:attributeNames>alias</ns:attributeNames>
> <ns:attributeNames>allowAttachments</ns:attributeNames>
> <ns:attributeNames>faculty_code</ns:attributeNames>
> <ns:attributeNames>moderated</ns:attributeNames>
> <ns:attributeValues></ns:attributeValues>
> <ns:attributeValues>true</ns:attributeValues>
> <ns:attributeValues>ENGF</ns:attributeValues>
> <ns:attributeValues>true</ns:attributeValues>
> <ns:compositeType xsi:nil="true"/>
> <ns:createSubjectId>GrouperSystem</ns:createSubjectId>
> <ns:createTime>2006/07/13 17:26:15.000</ns:createTime>
> <ns:hasComposite>F</ns:hasComposite>
> <ns:isCompositeFactor>F</ns:isCompositeFactor>
> <ns:leftGroup xsi:nil="true"/>
> <ns:modifySource xsi:nil="true"/>
> <ns:modifySubjectId>GrouperSystem</ns:modifySubjectId>
> <ns:modifyTime>2009/02/09 12:06:05.428</ns:modifyTime>
> <ns:params xsi:nil="true"/>
> <ns:rightGroup xsi:nil="true"/>
> <ns:typeNames>mailingList</ns:typeNames>
> <ns:typeNames>teaching</ns:typeNames>
> <ns:typeNames>testing</ns:typeNames>
> </ns:detail>
> <ns:displayExtension>Students</ns:displayExtension>
> <ns:displayName>
> QS University of Bristol:Academic faculties:Engineering:Students
> </ns:displayName>
> <ns:extension>students</ns:extension>
> <ns:name>qsuob:faculties:engf:students</ns:name>
> <ns:uuid>d0e456b7-b11b-46b5-8103-30ea520675de</ns:uuid>
> </ns:wsGroups>
> <ns:wsSubject
> type="edu.internet2.middleware.grouper.ws.soap.WsSubject">
> <ns:attributeValues xsi:nil="true"/>
> <ns:id>mrvanes</ns:id>
> <ns:identifierLookup xsi:nil="true"/>
> <ns:name xsi:nil="true"/>
> <ns:resultCode>SUCCESS</ns:resultCode>
> <ns:sourceId>example</ns:sourceId>
> <ns:success>T</ns:success>
> </ns:wsSubject>
> </ns:return>
> </ns:getGroupsLiteResponse>
>
>
> Regards,
> Martin




Archive powered by MHonArc 2.6.16.

Top of Page