Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Web Services: runBatchJob and global variables with PHP

$
0
0

Dear all,

 

Here is my problem :

I try to call web method runBatchJob defined by port BatchJobAdmin of the Web Service interface published by DS. from a php script with the SoapClient library.

 

 

I want to set a global variable before the execution but the job is executed with the default values.

 

My code :

 

try {

    $result = $client->Run_Batch_Job(array("jobName"=>"JOB_TEST","globalVariables"=>array("G_VAR"=>"new value")));

} catch (SoapFault $sFault) {

echo($sFault->__toString());

}

 

 

How can i set a value to the global variable ?

 

Thanks for your help


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>