I'm trying to call "login" method via SoapUI in Magento 1.9.1 and returns "Read Timeout".
Accessing the WSDL on browser and creating the project on the SoapUI works fine, but when i call any method PHP returns the following error:
6381 [Wed Jul 08 00:18:00 2015] [error] [client 189.114.159.156] PHP Warning: SoapServer::SoapServer(http://{host}/index.php/api/v2_soap/index/?wsdl=1): failed to open stream: HTTP request failed! in /var/www/html/mg_testeintegracao/lib/Zend/Soap/Server.php on line 814
6382 [Wed Jul 08 00:18:00 2015] [error] [client 189.114.159.156] PHP Warning: SoapServer::SoapServer(): I/O warning : failed to load external entity "http://{host}/index.php/api/v2_soap/index/?wsdl=1" in /var/www/html/mg_testeintegracao/lib/Zend/Soap/Server.php on line 814
6383 [Wed Jul 08 00:18:00 2015] [error] [client 189.114.159.156] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://{host}/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "http://{host}/index.php/api/v2_soap/index/?wsdl=1"\n in /var/www/html/mg_testeintegracao/lib/Zend/Soap/Server.php on line 814
I've looked many posts about this problem and executed many possible answers:
Magento soap api login failed using PHP
SOAP API Call not working with Magento 1.9.1.0
SOAP API fails with "couldn't load from…", "failed to load external entity…"
Bug in CE version 1.9.0.1 connecting via Soap v1?
I opened all ports on server and check php extensions like soap, xmlrpc, openssl, everyting is ok.
The 814 line of "/var/www/html/mg_testeintegracao/lib/Zend/Soap/Server.php" is:
$server = new SoapServer($this->_wsdl, $options);
My server works with virtual hosts and the setting of this domain is as follows:
<VirtualHost *:80>
ServerName {host}
ServerAlias {host}
DocumentRoot /var/www/html/mg_testeintegracao
<Directory /var/www/html/mg_testeintegracao>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
Can it be a problem with that?
Someone has the same problem?