PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

How do you Retrieve Values from a Primitive Element?

edited Nov 27, 2017 10:18AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 2 commentsAnswered

I have created a custom REST Web Service Operation with the POST Method that returns a Response Document Type Message, which consists only of the primitive elements:  request_number and request_id.  The contents of the Response Message, which is in application/Json format, looks like what is shown below.   How would you retrieve the values for the request number (REQ0010104) and the request_id (bd1a7e170f120300043106bce1050e7b)?  My code is not returning the values.

The attached document contains screen print of the Document, Message, Service Operation and PeopleCode. 

<?xml version="1.0"?>

<data psnonxml="Yes">

<![CDATA[{"result":{"request_number":"REQ0010104","request_id":"bd1a7e170f120300043106bce1050e7b"}}

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