Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Problem with soap method : getMembershipsLite

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Problem with soap method : getMembershipsLite


Chronological Thread 
  • From: Yoann Delattre <>
  • To: "" <>
  • Subject: Re: [grouper-users] Problem with soap method : getMembershipsLite
  • Date: Mon, 05 May 2014 09:21:43 +0200

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




Archive powered by MHonArc 2.6.16.

Top of Page