Save XML /JSON from endpoint

Hello,

I am receiving XML messages via a Endpoint. I would like to save the full message in the DB but can’t find a way to acheive this. I can only retreive request data but not the full message.

Hope someone will help.

Best regards,

Jonas