I'm trying to debugging SOAP API. I'm logging call Requests, but how would I get log on Response?
I have tried to use Magento-API-Logger to get Response I've added
$logger->log($this->getResponse(), $logger::API_V2_SOAP);
to the V2/SoapController, but that gets response without body and it's not XML
DEBUG (7): Mage_Core_Controller_Response_Http Object
(
[_body:protected] => Array
(
)
[_exceptions:protected] => Array
(
)
[_headers:protected] => Array
(
[0] => Array
(
[name] => Content-Type
[value] => text/html; charset=UTF-8
[replace] =>
)
[1] => Array
(
[name] => X-Frame-Options
[value] => SAMEORIGIN
[replace] => 1
)
)
[_headersRaw:protected] => Array
(
)
[_httpResponseCode:protected] => 200
[_isRedirect:protected] =>
[_renderExceptions:protected] =>
[headersSentThrowsException] => 1
)
Any Suggestions how to get response log?