php - SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://10.31.1.106:8080/gss-0.1/FileUtilities?wsdl' -
i hope can me because looking solution since 2 working days...
i have php website need request distant webservice. when try on computer (win7 + wamp), works well. when try on webserver (centos6), return me following error :
soap-error: parsing wsdl: couldn't load 'http://ip_address:8080/gss-0.1/fileutilities?wsdl' : failed load external entity "http://ip_address:8080/gss-0.1/fileutilities?wsdl"
nb: webservice on same network of webserver (i not use same ip/port).
i know wsdl accessible webserver because accessible using curl linux function.
curl http://ip_address:8080
my php code is:
<?php $wsdl = "http://ip_address:8080/gss-0.1/fileutilities?wsdl"; try{ $client = new soapclient($wsdl ,array('trace' => 1, 'exceptions'=> 1, 'cache_wsdl' => wsdl_cache_none )); } catch(exception $e) { echo $e->getmessage(); }?>
if not firewalled there @ web server , working in local not @ webserver(centos). might case of different php version , php.ini settings. can compare php version , below extensions in centos server wamp @ local.
s0ap, php_openssi, openssi, curi;
Comments
Post a Comment