PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SoapClient->__getLastRequestHeaders> <SoapClient->__getFunctions
Last updated: Fri, 14 Nov 2008

view this page in

SoapClient->__getLastRequest

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

SoapClient->__getLastRequest 直近の SOAP リクエストを返す

説明

SoapClient
string __getLastRequest ( void )

注意: このメソッドは、オプション trace を指定して SoapClient が作成されている場合のみ使用可能です。

返り値

直近の SOAP リクエスト

例1 SoapClient->__getLastRequest() の例

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



add a note add a note User Contributed Notes
SoapClient->__getLastRequest
Omar Nabil
12-Nov-2008 05:44
the getLastResult function doesn't require that the server answers.
as my browser handled and hided the xml code I thought the function doesn't return the last request

 
show source | credits | sitemap | contact | advertising | mirror sites