Skip to Content.
Sympa Menu

grouper-users - [grouper-users] issue for call rest of OpenIDM with grouper WS

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] issue for call rest of OpenIDM with grouper WS


Chronological Thread 
  • From: Mathieu HETRU <>
  • To:
  • Subject: [grouper-users] issue for call rest of OpenIDM with grouper WS
  • Date: Fri, 7 Oct 2016 10:38:00 +0200
  • Ironport-phdr: 9a23:aOZEPBTs5Ot3sNq8zu/qcJSri9psv+yvbD5Q0YIujvd0So/mwa67bRWN2/xhgRfzUJnB7Loc0qyN7PCmBDdLuMvJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3JGwV5HsPQUs6P1oXkn9y1rpLJZBhQiSD4fKh/Ng6erAPNu9MQjJc4bKs910jnuHxNLsFf2WNpKE/bvzvA3Pr4qJtq7yRRtu9n98NcS7jSYqI5U/lcDTAiPjtz6te95kqLdheG+nZJCjZeqRFPGQWQsUj3

Hello,

I use some hooks with the software OpenIDM.

The client of the call API REST of OpenIDM call the WS of grouper with Content-Type "application/json".

But Grouper require "text/x-json".


In order to work fine, i have needed to modify this file in my webservices

src/grouper-ws/edu/internet2/middleware/grouper/ws/rest/contentType/WsRestRequestContentType.java


At the file
json("text/x-json") {

i modify in
json("application/json") {

I recompile the grouper webservices.

And it work well with hooks of OpenIDM.


Mathieu

--
---------------------------------------------
Mathieu HETRU
Responsable technique ENT

Université Charles-de-Gaulle - Lille3
Direction des Systèmes d'Information
Cellule ENT - Intégration applicative
Bureau A2-184
Domaine universitaire du Pont de bois
BP 60149 59653 Villeneuve d'Ascq

Tél. : 03-20-41-69-44
Fax : 03-20-41-60-01




Archive powered by MHonArc 2.6.19.

Top of Page