We don't use web services, we use iframes
One of my clients does a lot of shipping. Usually they have tens of thousands of parcels in transit. Here is how they keep track of those parcels:
- People who ship stuff from various warehouses throw packing slips in a box
- Every hour or so, a clerk faxes the packing slips to a third party system that stores them in PDF format in a S3 bucket on Amazon (1 fax number and 1 bucket per shipper)
- A WebJob on Azure runs every 10 minutes to download the pending PDFs, extract the tracking code and store it in a SQL Azure database
- A Visual FoxPro application (installed on a server with a console session active 24x7) executes a SSIS package to move the tracking codes from SQL Azure to a local CSV
- In a continuous loop, a second Visual FoxPro application (running on the same server, different GUI) uses WebBrowser controls to access the website of the shipper, submit the tracking code and parse the HTML to get the status. If the package has arrived, the tracking code is removed from the CSV, and the next SSIS package execution flags the record in SQL Azure
The client did not call me in to tell them that their solution is a WTF. They called me to find a way to make this work. So I spent an hour with their "star programmer" and showed him how to use a reverse proxy. From the look of wonder in his eyes as he discovered the endless possibilities of ISAPI I know I opened a Pandora's box. I can't wait to see what kind of abomination I will discover at my next visit there.
Ah, that warm fuzzy feeling when you know you've just provided material for the next batch of TDWTF articles.
Ah, that warm fuzzy feeling when you know you've just provided
material for the next batch of TDWTF articlesjob security.
That must be at least near the top of the most WTFy things I've read here this whole year. My only reaction was, indeed, "WTF?"