on 01-10-2007 9:22 PM
Any solution is very much appreciated for the following Problem.
My Scenarios are File to XI to FIle
My problem is XI is picking up file on FTP Server while file is being written by Webservice ( This Webservice can not write .tmp file or movie file from one directory to another. So these options are ruled out )
These are proposed steps:
1. Job Scheduler creates Dummy File on XI File System
2. XI Picks up File on XI File System and Invokes External Webservice and receives Response that a File "MadFile" has been written to external FTP Server.
3. After XI receives response from webservice, XI should get "MadFile" from FTP Server
How Can I implement step 3 above.
( Please do not suggest executing scripts as the the application where webservice running do not want to write it )
Use, the option of availability time for the File adapter in the latest SPS19 in XI 3.0 or SPS10 in PI 7.0
for more-
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
rgds,
moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I appreciate all your help. But the Webservice application folks dont want to run a script as I told earlier in this link. They want everything done by XI. ( They dont want to execute any script. They dont want to write file as .tmp and rename it to .csv after done writing. They dont want to move the file to another folder after they write file etc..)
Any more ideas ?
ST,
At times one has to take a stand and using a BPM like this is actually complicating things. Using the script option is the best solution!
Menahwile, even BPM solution doesn't make sense to me as like you correctly told, your Second Receive Step can poll over the file and pick up the temporary file! Even if you can handle this using Adapter Scheduling, you would need Correlation and I am pretty sure that as you are using a dummy file, this also cannot be achieved!
Would suggest that another option would be to ask the webservice to send a call directly to XI after writing the file. The moment XI receives the Webservice request, XI can invoke a java proxy to collect the file ( polling using File adapter is not going to help ) and then pass this file to the integration engien and so on.
Even my solution is not a very good one, but, if nothing works out, it is something atleast. But, I would ask you to push for the tmp folder plus script.
Regards
Bhavesh
May be that in your case is enough to use the specific parameter in the file adapter sender:
<i>Advanced Mode
To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
<b>Msecs to Wait Before Modification Check</b>
Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.</i>
Regards,
Sandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It can be done using BPM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create one receive step to receive the dummy file
create one synchronous send step to send and receive the web response
Place 2nd receive step, after this send step to pickup the actual file.
In this way the Actual file will only be picked up when send step is received the response back.
Regards
Bipin Joshi
<i>> Create one receive step to receive the dummy file
> create one synchronous send step to send and receive
> the web response
> <b>Place 2nd receive step, after this send step to
> pickup the actual file.</b>
> In this way the Actual file will only be picked up
> when send step is received the response back.</i>
Thank you but you are scheduling Sender File adapter during 2nd Receive step. File will be polled as usual and come into Integration engine and will wait until BPM start. IN other words you still will be receving the partial file as you are scheduling Sender file adapter to poll actual file.
Any more ideas ?
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.