Oui le bignou fonctionne maintenant.
Si tu veux de l'aide, il faut être plus précis et un minimum courtois.
Cdlt,
Mega
Et, comme toi, je m'arrache les cheveux à essayer de comprendreWarning: SoapClient::SoapClient(http://xxx.xxx.xxx.xxx:4080/WSLEO_WEB/a ... .awws?wsdl) [function.SoapClient-SoapClient]: failed to open stream: Connection timed out in /htdocs/public/sitetest/test.php on line 14
Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity "http://xxx.xxx.xxx.xxx:4080/WSLEO_WEB/a ... .awws?wsdl" in /htdocs/public/sitetest/test.php on line 14
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xxx.xxx.xxx.xxx:4080/WSLEO_WEB/a ... .awws?wsdl' in /htdocs/public/sitetest/test.php:14 Stack trace: #0 /htdocs/public/sitetest/test.php(14): SoapClient->SoapClient('http://xxx.xxx.xxx...', Array) #1 {main} thrown in /htdocs/public/sitetest/test.php on line 14
<?php
$wsleo = "";
echo '<a href="http://xxx.xxx.xxx.xxx:4080/WSLEO_WEB/awws/wsLEO.awws?wsdl">WSDL</a><br />';
// Connexion au webservice
$wsleo = new SoapClient("http://xxx.xxx.xxx.xxx:4080/WSLEO_WEB/awws/wsLEO.awws?wsdl",array('soap_version' => SOAP_1_2, 'login' => 'xxx', 'password' => 'xxx'));
// Connecter();
$Retour = $wsleo->AfficherChemins();
print_r($Retour);
?>
Pourtant, le lien direct vers le wsdl fonctionne bienmais jamais de réponse.SoapClient: failed to open stream
Code : Tout sélectionner
<soap:address location="http://PC-Eric/WSLEO_WEB/awws/wsLEO.awws"/>Code : Tout sélectionner
<soap:address location="http://xxx.xxx.xxx.xxx/WSLEO_WEB/awws/wsLEO.awws"/>