1 2 3 4 5 6 7 8 9 10 11 12
| // Pour supprimer le cache du web-service
ini_set('soap.wsdl_cache_enabled', 0);
$wsdl = "http://ledomaineduwebservice/admin/webservices/wbtmanagerwebservice.asmx?wsdl";
$client = new SoapClient($wsdl);
//$response = $client->StudentCreate($loginid,$extid,$password,$fname,$lname,$id,$idType);
$response = $client->StudentCreate('aaaaaaa','','1234','PRENOM','NOM','ffcertifamf','orgid');
//$response = $client->StudentCreate(string $loginid,string $extid,string $password,string $fname,string $lname,string $id,string $idType);
//print_r $response;
echo '<pre>', print_r($client->__getFunctions(), true), '</pre>'; |
Partager