> Would be lovely to know more. So, this customer doesn't want
> an acknowledgement, but insists on one?

Yup. The CGI is part of a system that provides Flood Certificates to Loan companies and Banks. If the Boolean "WaitForCertificate" is set "T" then the customer is indicating he wants a finished certificate sent on the open channel. There is also a provision for the XML copy of the certifcation to be set back to a ResponseURL. The PDF only can be sent via Email or FAX. A customer can even indicate don't send him anything. Presumably he'll send a query when he's ready for it.

> An acknowledgement of.. what?

An XML document which is either a compelte certificate or tells him where the order went and trackng information.

> I speculate that there're two possible acknowledgments here:
> 1) "I received your XML";
> 2) "I successfully process-etc-ed it".

Essentially yes tho number 2 can be a pretty wide range of responses.

> If that is so, de-coupling the code into to parts:
> 1) getting the client data;l
> 2) processing it asynchronously

I doubt seriously if other customers would tolerate this. Most want an answer back three seconds before they send it but are willing to tolerate a plus five to plus ten second delay. It may become necesary to just change the settings for this one customer from wahtehe says he wants to what his behavior indicates he really wants. I hate that kind of second guessing tho.


In reply to Re^2: Detecting early termination by client by enemyofthestate
in thread Detecting early termination by client by enemyofthestate

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.