Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1389

make rest json content type configurable in WS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.4.0
    • None
    • WS
    • None

    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

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: