SOAP Funkcje
PHP Manual

SoapClient->__getLastRequest

(No version information available, might be only in CVS)

SoapClient->__getLastRequest Returns last SOAP request

Opis

SoapClient
string __getLastRequest ( void )

Informacja: This method works only if the SoapClient object was created with the trace option.

Zwracane wartości

The last SOAP request.

Przykłady

Example #1 SoapClient->__getLastRequest() example

<?php
$client 
SoapClient("some.wsdl", array('trace' => 1));
$result $client->SomeFunction();
echo 
"REQUEST:\n" $client->__getLastRequest() . "\n";
?>

Patrz także


SOAP Funkcje
PHP Manual