On the ThinPHP Blog today, there's a new post that talks about extending one of the newer bts of functionality to be added into the PHP core - the SOAP functionality. Specifically, they look at extending the SoapServer class to help with debugging.
For long-term reasons (it's a large multi-year project) and to provide more comfort for our customer (internal monitoring) and the communication from us (the development team) to the external entities (internal/external consumers of the webservice), we decided to improve the debugging capabilities of the SOAP service.
They give a code example of how to use this extension functionality. The script is set to make a request to a remote server and store all of the response information in an easy to use standardized error handling functionality.