[PHP-JS] WSDL Erreur de parse
Bonjour,
J'ai un petit souci avec mon webservice :
J'ai l'erreur suivante :
[Wed Sep 27 14:52:27 2006] [error] PHP Parse error: parse error, unexpected T_STRING in baseweb/www/a/webservices/model/a_wsdl.php on line 2
Voici le source de mon fichier WSDL (enfin un extrait):
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:si="http://soapinterop.org/xsd"
xmlns:tns="urn:synapsewsdl"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://tempuri.org/wsdl/">
<types> |
et mon appel :
Code:
$client = new SoapClient('http://127.0.0.1/a/webservices/model/a_wsdl.php?WSDL');
Je ne comprends vraiment pas !
Merci par avance...