Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

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


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Mathieu HETRU <>, "" <>
  • Subject: Re: [grouper-users] issue for call rest of OpenIDM with grouper WS
  • Date: Wed, 19 Oct 2016 12:11:06 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:so3LvhaBI7vlfG+eLjgeqDL/LSx+4OfEezUN459isYplN5qZpcu4bnLW6fgltlLVR4KTs6sC0LWG9f27EjVdqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aMlzFOAF0PuX4HJLJx4Tyjrjqus6bXwIdoTOhYbJ/MV2WgDnri4FChIJ+Kqc8113Jr2dSZsxLw2J2YFaSmxLxvYG+5sgnu25fofU878NaFLjhcr4jZb1eEDk8NW0pvovmuQSJBV+A/HwBSmgM1wdTDhLexBD8QprrtCbm7Kxw1DTMbuPsSrVhExSz/apxDFfDiD0GLHRxpGTcit1igbhzoQmq4QFnzojSJoyZKawtLevmYdoGSD8ZDY5qXCtbD9b5NtNXAg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I opened a jira to make this configurable


https://bugs.internet2.edu/jira/browse/GRP-1389


From: <> on behalf of Mathieu HETRU <>
Sent: Friday, October 7, 2016 4:38:00 AM
To:
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

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




Archive powered by MHonArc 2.6.19.

Top of Page