Waiting for response file

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
4 posts Page 1 of 1

rreindl

Verified User
Posts: 2
Joined: Mon Jun 08, 2009 1:31 pm

Post by rreindl » Wed Jun 10, 2009 1:08 pm
Is there anyway in GoAnywhere that would allow a project to submit a XML file to a processing program and then wait for an answer file to be output from that processing program.

The processing program does not get called by GA, it simply monitors a directory for incoming files.

Support_Steve

Support Specialist
Posts: 13
Joined: Fri May 08, 2009 8:59 am

Post by Support_Steve » Wed Jun 10, 2009 2:37 pm
Can you please elaborate on your question? Some specific questions that I have are:

Are you using GoAnywhere to write the XML file?
What operating system is GoAnywhere running on?
What operating system is the processing program running on?
What language is the processing program written in?
Have you considered calling the RunProject command from the processing program to kick off a Project?

One approach is to have two Projects. The first Project would write the XML file. The second would be called from the processing program after it processes the file. Without knowing the details of your requirements though I can't say for sure what approach you should take.

Any details you can provide will help us determine the best solution to meet your needs. Thanks.

rreindl

Verified User
Posts: 2
Joined: Mon Jun 08, 2009 1:31 pm

Post by rreindl » Thu Jun 11, 2009 6:38 pm
Well to elaborate, we have a credit card processing program which monitors a directory(which is currently set to an IFS folder) and when a request XML file is placed in that directory it processes the credit card and then replaces the request file with an answer XML file which contains the resultant data.
Support_Steve wrote:
Are you using GoAnywhere to write the XML file?
Yes
Support_Steve wrote:
What operating system is GoAnywhere running on?
i5/OS v4r5
Support_Steve wrote:
What operating system is the processing program running on?
Windows 2003 Server
Support_Steve wrote:
What language is the processing program written in?
Unsure, it is a compiled Windows program that is not open source.
Support_Steve wrote:
Have you considered calling the RunProject command from the processing program to kick off a Project?
No access to the programs code, there is no way that I can see to kick off a program from that program.

GoAnywhere should be able to do most of this process for me, but it needs to wait for the answer file to be generated before it continues. Hopefully that helps.

Support_Ron

Support Specialist
Posts: 11
Joined: Tue Mar 03, 2009 5:45 pm

Post by Support_Ron » Fri Jun 12, 2009 10:37 am
I believe the best way to make this process work is to set up two jobs in the job scheduler. The first job will send the file. The second job will keep checking for the response file to show up. when it does, the process will run and then that job will end.

Ron
4 posts Page 1 of 1