__getLastResponseHeaders()"HREF="function.soap-soapclient-getlastresponsehea..."/>
Forum und email
SoapClient->__getLastResponse()

SoapClient->__getLastResponse()

(no version information, might be only in CVS)

SoapClient->__getLastResponse() --  Returns last SOAP response.

Popis

class SoapClient {

string __getLastResponse ( void )

}

Poznámka: This method works only if the SoapClient object was created with the trace option.

Návratové hodnoty

The last SOAP response.

Příklady

Příklad 1. SoapClient->__getLastResponse() example

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