After running $request = new Request(); $this->request->isSoap() to check the request type if is Soap,
how do I get the soap xml from the $request.
Using method from Request: getRawBody() -> Gets HTTP raw request body
getRawBody()
I used php file_get_contents('php://input');
which works but I will for sure try out your suggestion.