Description
From: grouper-users-request on behalf of Mathieu HETRU
Sent: Friday, October 7, 2016 4:38 AM
To: grouper-users
Subject: [grouper-users] issue for call rest of OpenIDM with grouper WS
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