Skip to content

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);
Use a logger for the output or add it at least as hidden value in your output. PHP independent works best with a sniffer tool like wireshark