php - debug soap client
If you are using the native php soap client, just enable the trace mechanims and use the build in methods.
array_push($options, array('trace' => 1)); $myPhpSoapClient = new SoapClient($urlToWSDL, $options);
- SoapClient::__getLastRequestHeaders
- SoapClient::__getLastRequest
- SoapClient::__getLastResponseHeaders
- SoapClient::__getLastResponse