PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Anyone experienced issues in PeopleCode with GetPropertyByName with JSON documents but not XML?

edited Apr 30, 2020 10:26AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 11 commentsAnswered

Hi we are building a pretty basic RESTful web service that will accept a JSON message and attempting to parse it out to take action on the data.  In the handler code we are trying to use the document model\code and trying to extract the values from the various elements.  If the message is set to be XML format in the service op and the data sent in XML all the code works.  If we change the message type to JSON and send the data in the JSON format no values are able to be extracted.

Here is an example of the code:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center