We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Working With Soap

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.

edited Aug '17

Using method from Request: getRawBody() -> Gets HTTP raw request body

Using method from Request: getRawBody() -> Gets HTTP raw request body

I used php file_get_contents('php://input');

which works but I will for sure try out your suggestion.