CLIENT SOAP et guillemets
Posté : 02 sept. 2010, 12:05
Bonjour à tous,
j'utilise actuellement un client SOAP PHP qui interroge un service SOAP très simple qui prend en entrée une simple chaine de caractères, voici le code :
J'obtiens l'erreur suivante :
Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in /client.php:7 Stack trace: #0 [internal function]: SoapClient->__call('methodeSOAP...', Array) #1 /client.php(7): SoapClient->methodeSOAP('Bienvenue sur "...') #2 {main} thrown in /client.php on line 7
Même protégées, les guillemets me posent problème... Je ne vois pas trop comment faire.
Si quelqu'un a déjà rencontré le souci... Merci d'avance.
David
j'utilise actuellement un client SOAP PHP qui interroge un service SOAP très simple qui prend en entrée une simple chaine de caractères, voici le code :
Code : Tout sélectionner
$client = new SoapClient("stockquote.wsdl");
$client->methodeSOAP("Bienvenue sur \"l'application iPad ...\"");Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in /client.php:7 Stack trace: #0 [internal function]: SoapClient->__call('methodeSOAP...', Array) #1 /client.php(7): SoapClient->methodeSOAP('Bienvenue sur "...') #2 {main} thrown in /client.php on line 7
Même protégées, les guillemets me posent problème... Je ne vois pas trop comment faire.
Si quelqu'un a déjà rencontré le souci... Merci d'avance.
David