Hello everyone,
I have the following scenario in SAP Process Integration where I am unfortunately stuck.
Asynchronous processing REST-To-SOAP (JSON -> IDoc)
The problem is as follows.
In the REST sender adapter, I have tried to check whether certain JSON content is available. If not, the response should be an HTTP error 400. Otherwise with 200. In all other cases best with status 500.
Can anyone tell me which properties need to be configured in the REST adapter?
Unfortunately, you can only ever find examples (which probably work) as REST receivers on the Internet.
The “Text-Content” option is omitted as I want to check whether the JSON property is missing.
“XPath expression” – here I should know the respective expressions, but they don’t seem to work.
“JSON expression” – what is expected and what is possible? Is this JSONPath? And if so, do I have to load an additional module?
Many thanks for your advice!