unidentified SOAP error

For programming and general questions on Zend Framework

unidentified SOAP error

Postby macest on Thu Jan 24, 2013 11:31 am

I have such code

require_once('Zend/Soap/Client.php');
Zend_Loader::loadClass('Zend_Soap_Client');
$url = 'strona/cos/cos?wsdl';
$client = new Zend_Soap_Client($url, array('encoding' => 'UTF-8',
'uri'=>'strona/cos/cos'));
$client->setSoapVersion(SOAP_1_1);
$f=$client->getFunctions();//must do this way because methods has "-" signs in names !!!!
$f6 = substr($f[0],11,20);
$naglowek = array(
'dane'=>array(
'nr'=>"654321",
'id'=>"321"),
'typ'=>array(
'kod'=>"1",
'czas'=>"2013-01-24")
);
$dane = array(
'forma'=>array('forma'=>"01")
);

$params = array('naglowek'=>$naglowek, 'dane'=>$dane);
echo 'aaa';
var_dump($client->$f6($params));exit;


Result is:
Not Found

#0 [internal function]: SoapClient->__doRequest('_doRequest(Object(Zend_Soap_Client_Common), '__doRequest('__soapCall('pobranie-raport...', Array, NULL, NULL, Array)
#6 E:\workspace\k\t\k\application\controllers\IndexController.php(1409): Zend_Soap_Client->__call('pobranie-raport...', Array)
#7 E:\workspace\k\t\k\application\controllers\IndexController.php(1409): Zend_Soap_Client->pobranie-raportu-exp(Array)
#8 E:\workspace\k\t\k\library\Zend\Controller\Action.php(513): IndexController->exitdebetorAction()
#9 E:\workspace\k\t\k\library\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action->dispatch('exitdebetorActi...')
#10 E:\workspace\k\t\k\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 E:\workspace\k\t\k\K.php(71): Zend_Controller_Front->dispatch()
#12 E:\workspace\k\t\k\index.php(28): Kasomat::run()
#13 {main}


Any ideas please?
macest
 
Posts: 1
Joined: Thu Jan 24, 2013 11:27 am

Return to Zend Framework

Who is online

Users browsing this forum: Google [Bot] and 7 guests