in reply to xml response
What you want, then, is a CGI script that handles a file upload -- or so I understand it. That's what should be sitting at (what you call) the postback_url. The script on the vendor's site should submit the XML file as an upload (i.e. if they're using Perl, they'll use LWP to submit the XML to you; you'll handle it with (if you're sane =) CGI.pm).
The fact that the file you're receiving is in XML format isn't *terribly* important for purposes of recieving it; what your script needs to do is handle the upload, and save the file to a designated location. Then process it (this can be handled by the CGI script itself, a script *called by* the CGI script, or maybe a cron job).
As far as handling uploads via CGI are concerned, you can read the documentation for CGI.pm with perldoc CGI and/or entering a search for "handling uploads" and the like on this site.
Hope that's helped you narrow down what you need to know!
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: xml response
by $code or die (Deacon) on Jan 25, 2001 at 01:20 UTC |