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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -