HTTP Contacts - UCCX 7.0(1)SR5

Unanswered Question
Jun 21st, 2010
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Hi All


I've been experimenting with a HTTP contact today; but it's not working quite as I would expect.


Basically I take a HTTP contact in, and build a response which I then send using a 'send HTTP response' step. My understanding was that as soon as this step is executed the response would be sent back to the browser/web site making the HTTP call.


What actually seems to happen is that when this step is hit, the browser is still awaiting a response. When the script reaches the 'end' step, it actually sends the response... I have things happening in my script after the response should be sent, so don't want the browser to block until the script ends.


Oddly, if I fire up Wireshark I see the data in a packet sent when I hit the 'send http response' step; and again at the end of the script. The first packet isn't interpreted as text/xml, but the second one is....


Anyone seen this sort of thing?


Thanks


Aaron

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (5 ratings)
Loading.
Anthony Holloway Mon, 06/21/2010 - 08:37
User Badges:
  • Purple, 4500 points or more

Yes, I have been down this path before too, but cannot recall what I did about it.  Could you fire the Trigger Application Step in asynchronous mode and pass it the document and contact as input?


Are you planning on opening a TAC case for this?


EDIT:  Never mind I see that the original script needs to end.

Aaron Harrison Mon, 06/21/2010 - 14:11
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Hi Anthony


I may well open a case; it looks odd to me. The data is sent twice, which can't be correct...


I may try putting it in a subflow or something to see if that tricks it into working, but it seems like an added complication that doesn't need to be there.


Thanks for the input, I'd hoped you might respond.


Aaron

Aaron Harrison Wed, 06/30/2010 - 00:51
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Hi All


Well - in the interests of completeness; I did raise a TAC case... the 'Send HTTP Response' step does appear to be broken and bug CSCth58464 has been raised. No confirmed release date/version yet...


Aaron

Anthony Holloway Wed, 06/30/2010 - 09:06
User Badges:
  • Purple, 4500 points or more

Thank you.  Your follow up is much appreciated.

Actions

This Discussion