PHP Handbuch
Zurück |  | Weiter

# SoapClient->__getLastRequest()

SoapClient->__getLastRequest() -- Returns last SOAP request

## Beschreibung

class SoapClient {
string __getLastRequest ( void )
}

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

## Rückgabewerte

The last SOAP request.

## Beispiele

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

## Siehe auch

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

Zurück | Zum Anfang | Weiter
SoapClient->__getFunctions() | Nach oben | SoapClient->__getLastRequestHeaders()