[Web Service] client php webservice
Salut,
J'ai un petit souci d’envoie de paramètre à travers un client php à mon webservice. j'ai un petit
Code:
1 2 3 4 5
|
helloword(string el1){
return "HELLO and welcome "+el1;
} |
sur mon serveur wsdl.
sur mon client en php j'ai essayé de faire comme suit :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
try{
$param=array('el1'=>'15.00');
$outputws= $client->__call('helloWord', $param);
// echo $outputws;
echo $outputws->return;
} catch (SoapFault $exception) {
echo $exception;
} |
et ca ne marche pas :D
ps: je suis :aie: en php :)
Merci d'avance