public function monitortestAction() { $client = new Zend_Soap_Client("http://negocjator.karol.dev-lublin.adm/service/handler?wsdl", array('soap_version' => SOAP_1_2, 'cache_wsdl' => WSDL_CACHE_BOTH)); $head->ip = Zend_Controller_Action_HelperBroker::getStaticHelper('Currentip')->getCurrentIp(); $head->sid = '999'; try { $return = $client->setNegotiationNotification($head, 132, '2013-08-08 15:48:12'); print "<pre>\n"; print "Request :\n" . htmlspecialchars($client->getLastRequest()) . "\n"; print "Response:\n" . htmlspecialchars($client->getLastResponse()) . "\n"; print "</pre>"; print "Response:\n" . htmlspecialchars_decode($client->getLastRequestHeaders()) . "\n"; exit; } catch (Exception $e) { diee($e->getMessage()); } }