2010-05-28 7 views
0

J'accès à un service Web comme SOAP:Zend_Soap_Client ne fonctionne pas avec proxy

$client = new Zend_Soap_Client($wsdl_url, array('proxy_host'=>"virtual-browser.25u.com" , 'proxy_port'=>80)); 

Depuis mes blocs de serveur partagé le port 8888, j'utilise ce serveur proxy. Mais Zend Soap Client essaie de le connecter directement.

Exception information: 

Message: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://abs..oup.com:8888/clsRSchedule.soap?wsdl' : failed to load external entity "http://abs..oup.com:8888/clsRSchedule.soap?wsdl" 
Stack trace: 

#0 /home/..../library/Zend/Soap/Client/Common.php(51): SoapClient->SoapClient('http://abslive3...', Array) 
#1 /home/..../library/Zend/Soap/Client.php(1024): Zend_Soap_Client_Common->__construct(Array, 'http://abslive3...', Array) 
#2 /home/..../library/Zend/Soap/Client.php(1180): Zend_Soap_Client->_initSoapClientObject() 
#3 /home/..../library/Zend/Soap/Client.php(1104): Zend_Soap_Client->getSoapClient() 
#4 [internal function]: Zend_Soap_Client->__call('ReturnDataSet', Array) 

Qu'est-ce que je fais mal?

Modifier Je vois ce old bug qui est marqué comme fixe.

Répondre

0

J'ai eu des problèmes horribles avec la version de Zend et je recommanderais seulement d'utiliser nuSoap

Questions connexes