note 86958 added to function.soap-soapclient-getlastrequest

From: Date: Wed, 12 Nov 2008 12:04:49 +0000
Subject: note 86958 added to function.soap-soapclient-getlastrequest
Groups: php.notes 
Request: Send a blank email to php-notes+get-146417@lists.php.net to get a copy of this message
Hi everybody, to have a lastRequest accessible using the getLastRequest function my request must be responsed by the server? I wanted to use this function (getLastRequest()) to get the request-xml without connecting to the real soap server. my code is like: <?php require_once('../lib/APClient.php'); $client = new APClient('http://192.168.1.83/PFM/lib/ZARS_WEB_LISTA_BP_MEDIA.wsdl', array('trace' => 1)); try{ $result = $client->apFunction(new ApObject()); }catch(Exception $exception){}// I know ti can't connect to get the response echo "REQUEST:\n" . $client->__getLastRequest() . "\n"; ?> APClient extends SoapClient Thanks a lot ---- Server IP: 80.241.173.254 Probable Submitter: 82.113.218.12 ---- Manual Page -- http://www.php.net/manual/en/function.soap-soapclient-getlastrequest.php Edit -- https://master.php.net/note/edit/86958 Del: integrated -- https://master.php.net/note/delete/86958/integrated Del: useless -- https://master.php.net/note/delete/86958/useless Del: bad code -- https://master.php.net/note/delete/86958/bad+code Del: spam -- https://master.php.net/note/delete/86958/spam Del: non-english -- https://master.php.net/note/delete/86958/non-english Del: in docs -- https://master.php.net/note/delete/86958/in+docs Del: other reasons-- https://master.php.net/note/delete/86958 Reject -- https://master.php.net/note/reject/86958 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#146417) next »