Invalid JSON While Implementing Enrollment Web Services (EWS) to Integrate with a Custom User Interface

(Doc ID 2298364.1)

Last updated on AUGUST 28, 2017

Applies to:

PeopleSoft Enterprise CS Student Records - Version 9 and later
Information in this document applies to any platform.

Symptoms

ISSUE STATEMENT
---------------------
When implementing Enrollment Web Services (EWS) to integrate with a custom User Interface (UI) using message content type = JSON, the SSR_GET_COURSE_OFFERING_RESP response message is invalid. There is a comma where there should not be :

"SSR_GET_COURSE_OFFERING_RESP": {, "COURSE_OFFERING_RESULT": [{

There is also a missing curly brace towards the end. Right after the last square bracket there should be three curly braces:

  }]
  }]
  }]
  }
 }

  
STEPS
---------------
The issue can be reproduced with the following steps:
1. Generate a request and a response message for SSR_GET_COURSE_OFFERING_R service operation.
2. Notice the request message is okay.
3. Notice the response message is invalid.

 
IMPACT
---------------
We currently have to take the XML and transform it to JSON on the client side.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms