How can the XML sent with Ext/SOAP be retrieved in PHP?

To retrieve the XML sent with Ext/SOAP in PHP, you can access the raw POST data from the request and then parse it as XML. This can be done by using the php://input stream to read the raw POST data, and then using simplexml_load_string to parse the XML into a SimpleXMLElement object for further processing.

// Retrieve the raw POST data
$xmlData = file_get_contents("php://input");

// Parse the XML data into a SimpleXMLElement object
$xml = simplexml_load_string($xmlData);

// Now you can work with the XML data as needed
// For example, you can access specific elements like this:
$elementValue = $xml->elementName;

// Or loop through all elements like this:
foreach ($xml->children() as $child) {
    // Do something with each child element
}