Manuale PHP
Indietro |  | Avanti

# SoapClient->__getLastResponse()

(no version information, might be only in CVS)

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

## Descrizione

class SoapClient {
string __getLastResponse ( void )
}

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

## Valori restituiti

The last SOAP response.

## Esempi

Esempio 1. SoapClient->__getLastResponse() example

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

## Vedere anche:

SoapClient->__construct()
SoapClient->__getLastResponseHeaders()
SoapClient->__getLastRequest()
SoapClient->__getLastRequestHeaders()

Indietro | Partenza | Avanti
SoapClient->__getLastRequestHeaders() | Risali | SoapClient->__getLastResponseHeaders()