Handling raw XML in REST Component

I am working with the REST component (M8465) and I want to receive incoming XML bodies to process them using Import Definitions.

However, I am having trouble capturing the raw XML. It seems the component struggles to serialize the incoming body directly to a string variable, or it attempts to map it to an object structure that doesn’t fit my needs.

I want to receive the XML body as a plain String so I can pass it directly to a (sequential) import definition for further parsing. How should I configure the Input Parameters in the REST process to ensure the body is treated as a raw string?

@ThvDuijn, the answer may be specific to your context. In any case, we need to look into it more deeply. Could you create an SR for your question?