HTTP Protocol (OpenInsight 32-bit Specific)
At 18 OCT 2007 11:12:58PM G Te Tamaki wrote:
We need to send a CSV file to a 'Wrapper' which validates and encripts the data. The 'Wrapper' then uses the Internet to send the file to the specified web site.
How does one use HTTP to send the file to the 'Wrapper' which is on the same server as OI?
Thanks
At 19 OCT 2007 08:35PM Steve Smith wrote:
Can't you simply use OI to encrypt and validate the file, then OSBWRITE the processed CSV file into the appropriate web folder?
If you need to go to a remote server then FTP would be an option.
At 20 OCT 2007 05:38PM G Te Tamaki wrote:
Thanks Steve,
The 'Wrapper' program is supplied to us by the Government who are very sensitive about security.
The 'Wrapper' program is saved on our network and we need to send our CSV to it.
We do not know how to send the CSV so that the 'Wrapper' program picks it up automatically.
At 21 OCT 2007 12:00AM Steve Smith wrote:
I'm closing my eyes while I type this so nobody can see the answer
![]()
What sort of input and output streams are available on the wrapper program?
OI can drive it via the Windows API as far as bringing it to the foreground and punching keystrokes into it.
Your wrapper program may also accept data from the clipboard, which can be loaded from OI.
At 21 OCT 2007 05:10AM Richard Bright wrote:
The 'wrapper' is a java web service listening to a designated port. It is expecting an http 'Post'. So the the exercise is: Can OI 'Post' an xml (or for that matter, http file, to a web service say Http:\\localhost:nnnn ?
At 21 OCT 2007 01:47PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Bob Carten provides worked examples of that here
World leaders in all things RevSoft
At 21 OCT 2007 11:11PM Richard Bright wrote:
Thanks v much for that link - I knew that Bob enjoyed playing around with this stuff but forgot / overlooked that thread.
Thanks again, and am sure that IES will be delighted.
Richard Bright
BrightIdeas New Zealand
At 22 OCT 2007 05:29AM Steve Smith wrote:
Just that some of us aren't allowed to go there.
![]()
I got locked out of there after I sold a copy of OI 4.13 to Australia's largest bank. Come to think of it, I got locked out of the bank as well…
I know that Bob C. also had some experience with webdav as a posting mechanism (with data in the HTTP headers). While we never went this route with the OI HTTP routines, there was always that possibility awaiting.