...
- Note, if your servlet is not grouperWs (e.g. grouper-ws) then adjust accordingly.
- There is a sample Java client with sample calls
- If REST:
- Decide what format you want to send and receive data. grouper-ws supports XHTML, XML, and JSON, as well as query strings for input (in URL or message body)
- For example, in the URL you can set the content type you want back:
Code Block |
---|
/grouper-ws/servicesRest/xml/v2_1_000/groups/aStem%3AaGroup/members/10021368
/grouper-ws/servicesRest/json/v2_1_000/groups/aStem%3AaGroup/members/10021368
/grouper-ws/servicesRest/xhtml/v2_1_000/groups/aStem%3AaGroup/members/10021368
|
- Or you can set the content type of the request and it will use that for the response
- There are many samples
- Understand versioning
...