2024 Jan 30 4:46 PM - edited 2024 Jan 30 7:55 PM
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!
2024 Jan 30 5:46 PM
I don't have the courage to open all 5 screenshots. Why not embedding the screenshots like this? And indicating their meaning?
2024 Jan 30 7:56 PM
Thank you very much.
I simply overlooked the possibility.
It makes reading and replying much easier 😊