Calling bat file in Windows server using SOA
TarakAug 8 2012 — edited Feb 26 2020Hi All,
I Have a scenario where i need to call a bat file using SOA 11g. Below is the use case.
Source system going to place *.xml* file in specific directory. Using FTP/File adaptor i need to check whether *.xml* file exist or not if Yes then i need to call a windows bat file with username and password.
Now i have fews doubts in implementing
1) Is it possible to call a bat file using SOA?
2) How to read file name with *.XML*. Using properties i can read the file name and after that i will get *.xml* out of the string name. But there is any direct way to get *.xml * from file adaptor into string variable.
3) How to call windows bat file using user name and password.
I am using
Jdev 11.1.1.6
SOA 11.1.1.6
Weblogic:- 10.3.6
It is urgent to implement this case in myproject. So request to respond.
Thanks in Adavance.
Regards,
Tarak.
Edited by: Tarak on Aug 8, 2012 11:07 AM