Invoke ODI Scenario using OdiInvokeWebService
Invoke ODI Scenario using OdiInvokeWebService:
In my earlier post i have written, how to invoke odi scenario using webservice by taking the help of Java EE Agent. Today I will show you how to do the same using local agent and with the help of odi tool named as “OdiInvokeWebService”.
Please ensure that you have started the localgent. To verify this, use below URL in your browser. If you see wsdl screen then we are good to go.
In ODI package drag and drop the OdiInvokeWenService and provide the URL. Next click on Advanced Button.
Click on the earth button to connect.
Now you can see all the methods available in left panel. Here we will go with requestPortType. In this post, our objective is to invoke an ODI Scenario using OdiInvokeWebservice.
Okay, select the invokeStartScen in left panel and provide the parameters as per your repository information. If you dont have any variables/parameters then just delete it. Next click on the green earth button ( location 4) to invoke the odi scenario.
Immediately you can see the response which includes the session id information.
To verify this execution, go to operator and see the session history. You can see the scenario must be started with session ID 2520091 ( you might have different session id 😀 ).
Want a response file ? Then just provide the file information as given below.
Contents of the response file
<?xml version = ‘1.0’ encoding = ‘UTF-8’?>
Thats all for today.
Thanks for reading.1 Thank you for your recommendation.