W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2013

External communication with SCXML

From: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date: Mon, 11 Feb 2013 17:42:30 +0000
To: "www-voice@w3.org (www-voice@w3.org)" <www-voice@w3.org>
Message-ID: <6A775895400B8040A331C2963964820C19535FEB@exchange01.tk.informatik.tu-darmstadt.de>
Hi again,

we are about to implement a simple REST interface (in & out) and were pondering about the best way to integrate such a thing into SCXML's concepts. There already is the basichttp ioprocessor available for the type attribute with send, but - as I raised earlier - it will completely ignore the actual result of such a request. One possibility would be to go for a "resthttp" (or similar) type which could deliver the result as an event into the interpreter. This would solve sending requests via SCXML and get at their result.

As for receiving requests, we need to get them as an event (just as with the basichttp ioprocessor) and be able to reply. Replying could be realized by sending an event to a special #_http.requestId but I'd like to gather some thoughts first. Another alternative is to go for a dedicated invoker that will deliver events and is available to reply to the remote party.

I understand that all of this can be solved "out-of-draft" but then again, maybe the various implementations could at least provide common concepts. Anyone have some thoughts about this?

Best regards
Stefan
Received on Monday, 11 February 2013 17:42:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 February 2013 17:42:58 GMT