How do you Retrieve Values from a Primitive Element?
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"}}