Ciao a tutti,
sono alle prime armi con i web service e sto cercando di inviare un file xml ad ud servizio web, il cui indirizzo trovate nel codice indicato in basso. (se non e' consentito indicare link di questo tipo, lo cancellero')
Nell'ambiente ZEND creo questo controller, che si connette e passa una stringa come da specifiche.
Codice PHP:
class SoapController extends Zend_Controller_Action
{
private $_WSDL_URI="https://www.aespd.es:443/agenciapd/axis/SolicitudService?wsdl";
public function indexAction()
{
}
public function clientAction()
{
$client = new Zend_Soap_Client($this->_WSDL_URI);
$pathXmlReceive="xml/envio04112011125914.xml";
$xmlData=htmlentities(file_get_contents($pathXmlReceive));
$this->view->add_result = $client->registrarXml(base64_encode($xmlData));
}
}
Chiaramente esiste anche la relativa view del clientAction.
L'errore e' il seguente.
Sapreste darmi qualche dritta? 
Devo configurare qualcosa nell'apache/php locale da cui parte la chiamata (considerate che sono sicuro che il servizio funziona, chiamandolo dal server di produzione, dove pero' il codice e' Java e non php/Zend)
Grazie.
Ciao
codice:
Application error
Exception information:
Message: no SOAPAction header!
Stack trace:
#0 /home/yyyy/public_html/xxxx/library/Zend/Soap/Client.php(1121): SoapClient->__soapCall('registrarXml', Array, NULL, NULL, Array)
#1 /home/yyyy/public_html/xxxx/application/controllers/SoapController.php(18): Zend_Soap_Client->__call('registrarXml', Array)
#2 /home/yyyy/public_html/xxxx/application/controllers/SoapController.php(18): Zend_Soap_Client->registrarXml(false)
#3 /home/yyyy/public_html/xxxx/library/Zend/Controller/Action.php(513): SoapController->clientAction()
#4 /home/yyyy/public_html/xxxx/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('clientAction')
#5 /home/yyyy/public_html/xxxx/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#6 /home/yyyy/public_html/xxxx/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#7 /home/yyyy/public_html/xxxx/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#8 /home/yyyy/public_html/xxxx/public/index.php(26): Zend_Application->run()
#9 {main}
Request Parameters:
array (
'controller' => 'soap',
'action' => 'client',
'module' => 'default',
)