$client = new Zend_Soap_Client($wsdl, array('trace' => true));
$client->... do stuff;
and then you can do:
$client->getLastRequest();
$client->getLastResponse();
$client->getLastRequestHeaders();
$client->getLastResponseHeaders();
On Monday 27 October 2008 17:45:29 Jigal sanders wrote:
> Hello everyone.
>
> I have the following test stuff for a soap message :
>
> <?
> //if(is_dir('./library/')) echo "ja"; exit;
> set_include_path('./library/');
> require_once('Zend/Loader.php');
> Zend_Loader::registerAutoload();
> $wsdl = "http://buzz.nl/WSCRM/SubscriptionService?wsdl";
> $client = new Zend_Soap_Client($wsdl);
> $client ->setEncoding("UTF-8");
> $client ->setSoapVersion(SOAP_1_1);
>
> Zend_Debug::dump($client, 'bla',true);
>
> ?>
>
> is there a way to see the acutal soap message in xml?
--
Benjamin Eberlei
http://www.beberlei.de
没有评论:
发表评论