Are you using the same credentials to login for both calls? Maybe a dumb question, but cant think of what else it could be. I tried to reproduce it, but
it works for me. Are you a Java person, can you debug it and step through to see why?
J
Here is my request/response
<?xml
version='1.0'
encoding='UTF-8'?>
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns1:getMembershipsLite
xmlns:ns1="http://soap_v2_1.ws.grouper.middleware.internet2.edu/xsd">
<ns1:clientVersion>v2_1_005</ns1:clientVersion>
<ns1:groupName>aStem:aGroup</ns1:groupName>
<ns1:wsMemberFilter>all</ns1:wsMemberFilter>
<ns1:includeSubjectDetail>T</ns1:includeSubjectDetail>
<ns1:includeGroupDetail>T</ns1:includeGroupDetail>
<ns1:enabled>T</ns1:enabled>
</ns1:getMembershipsLite>
</soapenv:Body>
</soapenv:Envelope>
<?xml
version='1.0'
encoding='UTF-8'?>
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:getMembershipsLiteResponse
xmlns:ns="http://soap_v2_1.ws.grouper.middleware.internet2.edu/xsd">
<ns:return
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns:WsGetMembershipsResults">
<ns:responseMetadata
xsi:type="ns:WsResponseMeta">
<ns:millis
xsi:nil="true"
/>
<ns:resultWarnings
xsi:nil="true"
/>
<ns:serverVersion>2.1.5</ns:serverVersion>
</ns:responseMetadata>
<ns:resultMetadata
xsi:type="ns:WsResultMeta">
<ns:params
xsi:nil="true"
/>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:resultCode2
xsi:nil="true"
/>
<ns:resultMessage>Found
3 results involving 1 groups and 3 subjects</ns:resultMessage>
<ns:success>T</ns:success>
</ns:resultMetadata>
<ns:subjectAttributeNames
xsi:nil="true"
/>
<ns:wsAttributeDefs
xsi:nil="true"
/>
<ns:wsGroups
xsi:type="ns:WsGroup">
<ns:description>a
group description</ns:description>
<ns:detail
xsi:type="ns:WsGroupDetail">
<ns:attributeNames
xsi:nil="true"
/>
<ns:attributeValues
xsi:nil="true"
/>
<ns:compositeType
xsi:nil="true"
/>
<ns:createSubjectId>GrouperSystem</ns:createSubjectId>
<ns:createTime>2014/01/01
21:10:01.001</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>2014/01/01
21:10:01.084</ns:modifyTime>
<ns:params
xsi:nil="true"
/>
<ns:rightGroup
xsi:nil="true"
/>
</ns:detail>
<ns:displayExtension>a
group</ns:displayExtension>
<ns:displayName>a
stem:a group</ns:displayName>
<ns:extension>aGroup</ns:extension>
<ns:name>aStem:aGroup</ns:name>
<ns:typeOfGroup>group</ns:typeOfGroup>
<ns:uuid>bb1b9243dc734591b2755ad739d7777e</ns:uuid>
</ns:wsGroups>
<ns:wsMemberships
xsi:type="ns:WsMembership">
<ns:createTime>2014/01/01
21:10:01.598</ns:createTime>
<ns:disabledTime
xsi:nil="true"
/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime
xsi:nil="true"
/>
<ns:groupId>bb1b9243dc734591b2755ad739d7777e</ns:groupId>
<ns:groupName>aStem:aGroup</ns:groupName>
<ns:immediateMembershipId>834d22781c7e4ef384a52609a97b02d8</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>ec29dce7f0704483b370d6266e8ea3b8</ns:memberId>
<ns:membershipId>834d22781c7e4ef384a52609a97b02d8:3b9083108a3c4b89904b36e9dd5b0702
</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:ownerIdOfAttributeDef
xsi:nil="true"
/>
<ns:ownerNameOfAttributeDef
xsi:nil="true"
/>
<ns:ownerStemId
xsi:nil="true"
/>
<ns:ownerStemName
xsi:nil="true"
/>
<ns:subjectId>GrouperSystem</ns:subjectId>
<ns:subjectSourceId>g:isa</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships
xsi:type="ns:WsMembership">
<ns:createTime>2014/01/01
21:10:01.704</ns:createTime>
<ns:disabledTime
xsi:nil="true"
/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime
xsi:nil="true"
/>
<ns:groupId>bb1b9243dc734591b2755ad739d7777e</ns:groupId>
<ns:groupName>aStem:aGroup</ns:groupName>
<ns:immediateMembershipId>f4083bb196884f558d7b9deb5c619173</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>d0bca18288514d65a3555ca2b69b2c25</ns:memberId>
<ns:membershipId>f4083bb196884f558d7b9deb5c619173:3b9083108a3c4b89904b36e9dd5b0702
</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:ownerIdOfAttributeDef
xsi:nil="true"
/>
<ns:ownerNameOfAttributeDef
xsi:nil="true"
/>
<ns:ownerStemId
xsi:nil="true"
/>
<ns:ownerStemName
xsi:nil="true"
/>
<ns:subjectId>10021368</ns:subjectId>
<ns:subjectSourceId>pennperson</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships
xsi:type="ns:WsMembership">
<ns:createTime>2014/01/01
21:10:01.656</ns:createTime>
<ns:disabledTime
xsi:nil="true"
/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime
xsi:nil="true"
/>
<ns:groupId>bb1b9243dc734591b2755ad739d7777e</ns:groupId>
<ns:groupName>aStem:aGroup</ns:groupName>
<ns:immediateMembershipId>d357a4829d6f48189c54e2e86e421830</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>57baf30fd82349d7ab0c7e61d60d3c34</ns:memberId>
<ns:membershipId>d357a4829d6f48189c54e2e86e421830:3b9083108a3c4b89904b36e9dd5b0702
</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:ownerIdOfAttributeDef
xsi:nil="true"
/>
<ns:ownerNameOfAttributeDef
xsi:nil="true"
/>
<ns:ownerStemId
xsi:nil="true"
/>
<ns:ownerStemName
xsi:nil="true"
/>
<ns:subjectId>10039438</ns:subjectId>
<ns:subjectSourceId>pennperson</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsStems
xsi:nil="true"
/>
<ns:wsSubjects
xsi:type="ns:WsSubject">
<ns:attributeValues
xsi:nil="true"
/>
<ns:id>GrouperSystem</ns:id>
<ns:identifierLookup
xsi:nil="true"
/>
<ns:name>GrouperSysAdmin</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>g:isa</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects
xsi:type="ns:WsSubject">
<ns:attributeValues
xsi:nil="true"
/>
<ns:id>10021368</ns:id>
<ns:identifierLookup
xsi:nil="true"
/>
<ns:name>Chris
Hyzer</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>pennperson</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects
xsi:type="ns:WsSubject">
<ns:attributeValues
xsi:nil="true"
/>
<ns:id>10039438</ns:id>
<ns:identifierLookup
xsi:nil="true"
/>
<ns:name>John
Smith</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>pennperson</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
</ns:return>
</ns:getMembershipsLiteResponse>
</soapenv:Body>
</soapenv:Envelope>
From:
[]
On Behalf Of Yoann Delattre
Sent: Monday, May 05, 2014 3:22 AM
To:
Subject: Re: [grouper-users] Problem with soap method : getMembershipsLite
Hi,
any idea ?
i just ask because i don't know if there is something wrong in my request or if it's a bug
:-\
Thanks again,
Yoann Delattre
|
✆
|
03 20 95 69 61
|
✉
|
|
Équipe SIAD (Systèmes d'Information et Aide à la Décision)
DSI de l'académie de Lille (Direction des Systèmes d'Information)
110 avenue Gaston Berger - 59000 Lille
|
Le 23/04/2014 14:46, Yoann Delattre a écrit :
Hi,
I have a problem when i use getMembershipsLite. No matter what i do, i always have this result message : Found 0 results involving 0 groups and 0 subjects.
But if i use getMemberships instead, with the same parameters, i obtain 5 results.
i don't understand, can you help me ?
Below, my soapUI request and response :
getMembershipsLite :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://soap_v2_0.ws.grouper.middleware.internet2.edu/xsd">
<soapenv:Header/>
<soapenv:Body>
<xsd:getMembershipsLite>
<xsd:clientVersion>2.1.5</xsd:clientVersion>
<xsd:groupName>app:sofal:habil:correspondant_dafop</xsd:groupName>
<xsd:wsMemberFilter>all</xsd:wsMemberFilter>
<xsd:includeSubjectDetail>T</xsd:includeSubjectDetail>
<xsd:includeGroupDetail>T</xsd:includeGroupDetail>
<xsd:enabled>A</xsd:enabled>
</xsd:getMembershipsLite>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getMembershipsLiteResponse xmlns:ns="http://soap_v2_0.ws.grouper.middleware.internet2.edu/xsd">
<ns:return xsi:type="ns:WsGetMembershipsResults" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns:responseMetadata xsi:type="ns:WsResponseMeta">
<ns:millis xsi:nil="true"/>
<ns:resultWarnings xsi:nil="true"/>
<ns:serverVersion>2.1.5</ns:serverVersion>
</ns:responseMetadata>
<ns:resultMetadata xsi:type="ns:WsResultMeta">
<ns:params xsi:nil="true"/>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:resultCode2 xsi:nil="true"/>
<ns:resultMessage>Found 0 results involving 0 groups and 0 subjects</ns:resultMessage>
<ns:success>T</ns:success>
</ns:resultMetadata>
<ns:subjectAttributeNames xsi:nil="true"/>
<ns:wsGroups xsi:nil="true"/>
<ns:wsMemberships xsi:nil="true"/>
<ns:wsSubjects xsi:nil="true"/>
</ns:return>
</ns:getMembershipsLiteResponse>
</soapenv:Body>
</soapenv:Envelope>
getMemberships :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://soap_v2_0.ws.grouper.middleware.internet2.edu/xsd">
<soapenv:Header/>
<soapenv:Body>
<xsd:getMemberships>
<xsd:clientVersion>2.1.5</xsd:clientVersion>
<xsd:wsGroupLookups>
<xsd:groupName>app:sofal:habil:correspondant_dafop</xsd:groupName>
</xsd:wsGroupLookups>
<xsd:wsMemberFilter>all</xsd:wsMemberFilter>
<xsd:includeSubjectDetail>T</xsd:includeSubjectDetail>
<xsd:includeGroupDetail>T</xsd:includeGroupDetail>
<xsd:enabled>A</xsd:enabled>
</xsd:getMemberships>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getMembershipsResponse xmlns:ns="http://soap_v2_0.ws.grouper.middleware.internet2.edu/xsd">
<ns:return xsi:type="ns:WsGetMembershipsResults" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns:responseMetadata xsi:type="ns:WsResponseMeta">
<ns:millis xsi:nil="true"/>
<ns:resultWarnings xsi:nil="true"/>
<ns:serverVersion>2.1.5</ns:serverVersion>
</ns:responseMetadata>
<ns:resultMetadata xsi:type="ns:WsResultMeta">
<ns:params xsi:nil="true"/>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:resultCode2 xsi:nil="true"/>
<ns:resultMessage>Found 5 results involving 1 groups and 5 subjects</ns:resultMessage>
<ns:success>T</ns:success>
</ns:resultMetadata>
<ns:wsGroups xsi:type="ns:WsGroup">
<ns:description xsi:nil="true"/>
<ns:detail xsi:type="ns:WsGroupDetail">
<ns:attributeNames xsi:nil="true"/>
<ns:attributeValues xsi:nil="true"/>
<ns:compositeType xsi:nil="true"/>
<ns:createSubjectId>GrouperSystem</ns:createSubjectId>
<ns:createTime>2014/03/25 10:45:16.043</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>2014/03/28 11:43:10.540</ns:modifyTime>
<ns:params xsi:nil="true"/>
<ns:rightGroup xsi:nil="true"/>
</ns:detail>
<ns:displayExtension>DAFOP</ns:displayExtension>
<ns:displayName>Application:SOFAL:Habilitation:DAFOP</ns:displayName>
<ns:extension>correspondant_dafop</ns:extension>
<ns:name>app:sofal:habil:correspondant_dafop</ns:name>
<ns:uuid>678548ddba3246979de1e89d976825c7</ns:uuid>
</ns:wsGroups>
<ns:wsMemberships xsi:type="ns:WsMembership">
<ns:createTime>2014/04/14 14:38:37.749</ns:createTime>
<ns:disabledTime xsi:nil="true"/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime xsi:nil="true"/>
<ns:groupId>678548ddba3246979de1e89d976825c7</ns:groupId>
<ns:groupName>app:sofal:habil:correspondant_dafop</ns:groupName>
<ns:immediateMembershipId>21a9e1ef9cc2446a95b7b82743f485f1</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>763104afac634661a6a6577491a8513d</ns:memberId>
<ns:membershipId>21a9e1ef9cc2446a95b7b82743f485f1:ae7548b129b6435082e85d5cf5025769</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:subjectId>amowat</ns:subjectId>
<ns:subjectSourceId>ldapPerso</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships xsi:type="ns:WsMembership">
<ns:createTime>2014/04/14 14:38:37.749</ns:createTime>
<ns:disabledTime xsi:nil="true"/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime xsi:nil="true"/>
<ns:groupId>678548ddba3246979de1e89d976825c7</ns:groupId>
<ns:groupName>app:sofal:habil:correspondant_dafop</ns:groupName>
<ns:immediateMembershipId>999a3294fd0d4843a2281287704b2f29</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>93a5865620c84688a56607974bd37da3</ns:memberId>
<ns:membershipId>999a3294fd0d4843a2281287704b2f29:ae7548b129b6435082e85d5cf5025769</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:subjectId>ass_arenb_fvlieghe</ns:subjectId>
<ns:subjectSourceId>ldapPerso</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships xsi:type="ns:WsMembership">
<ns:createTime>2014/04/14 14:38:37.749</ns:createTime>
<ns:disabledTime xsi:nil="true"/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime xsi:nil="true"/>
<ns:groupId>678548ddba3246979de1e89d976825c7</ns:groupId>
<ns:groupName>app:sofal:habil:correspondant_dafop</ns:groupName>
<ns:immediateMembershipId>809a244b084e47da9f4b9837e55909e5</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>3ca58089da6740dba74cf55d6f16c508</ns:memberId>
<ns:membershipId>809a244b084e47da9f4b9837e55909e5:ae7548b129b6435082e85d5cf5025769</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:subjectId>dronien</ns:subjectId>
<ns:subjectSourceId>ldapPerso</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships xsi:type="ns:WsMembership">
<ns:createTime>2014/04/14 14:38:37.749</ns:createTime>
<ns:disabledTime xsi:nil="true"/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime xsi:nil="true"/>
<ns:groupId>678548ddba3246979de1e89d976825c7</ns:groupId>
<ns:groupName>app:sofal:habil:correspondant_dafop</ns:groupName>
<ns:immediateMembershipId>b984811b1da84a84b8f7427c181c8cf9</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>4c8e7bf125b348a882aee8be10f509aa</ns:memberId>
<ns:membershipId>b984811b1da84a84b8f7427c181c8cf9:ae7548b129b6435082e85d5cf5025769</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:subjectId>lleblond3</ns:subjectId>
<ns:subjectSourceId>ldapPerso</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsMemberships xsi:type="ns:WsMembership">
<ns:createTime>2014/04/14 14:38:37.749</ns:createTime>
<ns:disabledTime xsi:nil="true"/>
<ns:enabled>T</ns:enabled>
<ns:enabledTime xsi:nil="true"/>
<ns:groupId>678548ddba3246979de1e89d976825c7</ns:groupId>
<ns:groupName>app:sofal:habil:correspondant_dafop</ns:groupName>
<ns:immediateMembershipId>671d3af60c804ceeaa8da0317893dd13</ns:immediateMembershipId>
<ns:listName>members</ns:listName>
<ns:listType>list</ns:listType>
<ns:memberId>14f6604a977f406fb2ffe18faed1374e</ns:memberId>
<ns:membershipId>671d3af60c804ceeaa8da0317893dd13:ae7548b129b6435082e85d5cf5025769</ns:membershipId>
<ns:membershipType>immediate</ns:membershipType>
<ns:subjectId>ydelattre2</ns:subjectId>
<ns:subjectSourceId>ldapPerso</ns:subjectSourceId>
</ns:wsMemberships>
<ns:wsSubjects xsi:type="ns:WsSubject">
<ns:attributeValues xsi:nil="true"/>
<ns:id>amowat</ns:id>
<ns:identifierLookup xsi:nil="true"/>
<ns:name>Anne Mowat</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>ldapPerso</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects xsi:type="ns:WsSubject">
<ns:attributeValues xsi:nil="true"/>
<ns:id>ass_arenb_fvlieghe</ns:id>
<ns:identifierLookup xsi:nil="true"/>
<ns:name>Fabienne Vlieghe</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>ldapPerso</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects xsi:type="ns:WsSubject">
<ns:attributeValues xsi:nil="true"/>
<ns:id>dronien</ns:id>
<ns:identifierLookup xsi:nil="true"/>
<ns:name>Jessy DRON</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>ldapPerso</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects xsi:type="ns:WsSubject">
<ns:attributeValues xsi:nil="true"/>
<ns:id>lleblond3</ns:id>
<ns:identifierLookup xsi:nil="true"/>
<ns:name>Leblond Loic</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>ldapPerso</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
<ns:wsSubjects xsi:type="ns:WsSubject">
<ns:attributeValues xsi:nil="true"/>
<ns:id>ydelattre2</ns:id>
<ns:identifierLookup xsi:nil="true"/>
<ns:name>Yoann Delattre</ns:name>
<ns:resultCode>SUCCESS</ns:resultCode>
<ns:sourceId>ldapPerso</ns:sourceId>
<ns:success>T</ns:success>
</ns:wsSubjects>
</ns:return>
</ns:getMembershipsResponse>
</soapenv:Body>
</soapenv:Envelope>
Thanks for your help,
--
Yoann Delattre
|
✆
|
03 20 95 69 61
|
✉
|
|
Équipe SIAD (Systèmes d'Information et Aide à la Décision)
DSI de l'académie de Lille (Direction des Systèmes d'Information)
110 avenue Gaston Berger - 59000 Lille
|