Anyone experienced issues in PeopleCode with GetPropertyByName with JSON documents but not XML?
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: