cancel
Showing results for 
Search instead for 
Did you mean: 

How to Schedule the job via WSDL with the help of SoapUI tool

dshaik
Newcomer
0 Kudos

How to Schedule the job via WSDL with the help of SoapUI tool

a. we need to Schedule job for particular day and Time
b. Schedule job with Global variable

Accepted Solutions (0)

Answers (1)

Answers (1)

Julian_Riegel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

1. Within Data Services Management console, Administrator -> Webservices, scroll down and retrieve the URL of the WSDL

2. Import the WSDL into SOAP UI

3. Trigger "Run_Batch_Job" Request within SoapUI. The Body should look similar to this:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.businessobjects.com/DataServices/ServerX.xsd">
   <soapenv:Header>
      <ser:session>
         <SessionID>?</SessionID>
      </ser:session>
   </soapenv:Header>
   <soapenv:Body>
      <ser:RunBatchJobRequest>
         <jobName>?</jobName>
         <!--Optional:-->
         <repoName>?</repoName>
         <!--You have a CHOICE of the next 2 items at this level-->
         <jobServer>?</jobServer>
         <serverGroup>?</serverGroup>
         <!--Optional:-->
         <jobParameters>
            <!--Optional:-->
            <job_system_profile>?</job_system_profile>
            <!--Optional:-->
            <sampling_rate>?</sampling_rate>
            <!--Optional:-->
            <disableValidationStatisticsCollection>?</disableValidationStatisticsCollection>
            <!--Optional:-->
            <auditing>?</auditing>
            <!--Optional:-->
            <recovery>?</recovery>
            <!--Optional:-->
            <recoverfromlastfailedexec>?</recoverfromlastfailedexec>
            <!--Optional:-->
            <usecollectedstats>?</usecollectedstats>
            <!--Optional:-->
            <collectstatsforoptimization>?</collectstatsforoptimization>
            <!--Optional:-->
            <collectstatsformonitoring>?</collectstatsformonitoring>
            <!--Optional:-->
            <exportdataqualityreports>?</exportdataqualityreports>
            <!--Optional:-->
            <job_server>?</job_server>
            <!--Zero or more repetitions:-->
            <trace>?</trace>
            <!--Optional:-->
            <distribution_level>?</distribution_level>
            <!--Optional:-->
            <substitutionParameters>
               <!--1 or more repetitions:-->
               <parameter name="?">?</parameter>
            </substitutionParameters>
         </jobParameters>
         <!--Optional:-->
         <globalVariables>
            <!--Zero or more repetitions:-->
            <variable name="?">?</variable>
         </globalVariables>
      </ser:RunBatchJobRequest>
   </soapenv:Body>
</soapenv:Envelope>

 

 

 

Please note, you need a session ID for authentication if Session Security is enabled. This can be retrieved via Request "Logon" - Body should look similar to this:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.businessobjects.com/DataServices/ServerX.xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:LogonRequest>
         <username>XXXXX</username>
         <password>XXXXX</password>
         <cms_system>serv9999</cms_system>
         <cms_authentication>secEnterprise</cms_authentication>
      </ser:LogonRequest>
   </soapenv:Body>
</soapenv:Envelope>

 

A detailed Documentation about the Webservices can be found here:

Supported Web service operations 

BR