$C = new SoapClient(‘webservice.wsdl’, array( ‘trace’ => 1 ) );

print „REQUEST:\n”.$C->__getLastRequest().”\n”;
print „RESPONSE:\n” .$C->__getLastResponse().”\n”;

lub
print „REQUEST:\n”.htmlspecialchars($C->__getLastRequest()).”\n”;
print „RESPONSE:\n” .htmlspecialchars($C->__getLastResponse()).”\n”;

Dodaj komentarz

* pole obowiÄ…zkowe