Skip to Content.
Sympa Menu

grouper-users - RE: request for help with SAOP calls to grouper 1.5

Subject: Grouper Users - Open Discussion List

List archive

RE: request for help with SAOP calls to grouper 1.5


Chronological Thread 
  • From: Chris Hyzer <>
  • To: William R Brown <>, "" <>
  • Cc: Tamra Valadez <>, Alan Takaoka <>
  • Subject: RE: request for help with SAOP calls to grouper 1.5
  • Date: Wed, 13 Jan 2010 10:39:00 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hey,

 

If you are using SOAP, you need to use the SOAP url and send an XML request in the post body, you cant put the group name in the URL (that I am aware of).  If you are using REST, then you can put the group name in the URL.

 

See these samples:

 

https://spaces.internet2.edu/display/GrouperWG/Get+Members

 

Here is a SOAP call:

 

http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/trunk/grouper-ws/grouper-ws/doc/samples/getMembers/WsSampleGetMembersLite_soap.txt?view=co

 

Depending on how the service is deployed at your school (I don’t have access to the URL you sent me), you would connect to this URL:

 

https://grouper.uchicago.edu/web/services/GrouperService

 

And send something like this in the HTTP post body:

 

<?xml version='1.0' encoding='UTF-8'?>

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">

  <soapenv:Body>

    <ns1:getMembersLite xmlns:ns1="http://soap.ws.grouper.middleware.internet2.edu/xsd">

      <ns1:clientVersion>v1_5_000</ns1:clientVersion>

      <ns1:groupName> uc:org:nsit:webservices:members</ns1:groupName>

      <ns1:groupUuid></ns1:groupUuid>

      <ns1:memberFilter>All</ns1:memberFilter>

      <ns1:actAsSubjectId> </ns1:actAsSubjectId>

      <ns1:actAsSubjectSourceId></ns1:actAsSubjectSourceId>

      <ns1:actAsSubjectIdentifier></ns1:actAsSubjectIdentifier>

      <ns1:fieldName></ns1:fieldName>

      <ns1:includeGroupDetail>F</ns1:includeGroupDetail>

      <ns1:includeSubjectDetail>F</ns1:includeSubjectDetail>

    </ns1:getMembersLite>

  </soapenv:Body>

</soapenv:Envelope>

 

And it should return the members…

 

Thanks,

Chris

 

 

From: William R Brown [mailto:]
Sent: Wednesday, January 13, 2010 9:48 AM
To:
Cc: Tamra Valadez; Alan Takaoka
Subject: [grouper-users] request for help with SAOP calls to grouper 1.5

 

Greetings grouper developers:

 

I'm using a grouper client embedded in uPortal 3.1.1.  The client is using the SOAP interface to do calls to the grouper web service but the service is returning errors.  I think the issue may be that I am not formatting the url properly for the query but I can't seem to decode the correct format from the documentation so I want to ask here for help. 

 

The service is running at https://grouper.uchicago.edu/web/services

 

I'm attempting to get the listing of members from a group with id uc:org:nsit:webservices:members

 

I'm constructing the query as show below but am getting the following error

 

 

Response:


"The service cannot be found for the endpoint reference (EPR) /web/services/groups/uc:org:nsit:webservices:members"

 

Does someone here know if the URL format is correct or if I should be querying the SOAP interface in a different way?

 

Thanks for your input and advice


Bill Brown

U of Chicago

NSIT - Web Services

 




Archive powered by MHonArc 2.6.16.

Top of Page