Forum: Ruby on Rails How? - Non-blocking XML message over HTTP

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Neil W. (Guest)
on 2006-03-04 12:26
I'm trying to code up Rails so that it can talk to the UK Government
Gateway using the submission protocol described here

Essentially it is an asynchronous request/response system that sends XML
messages over an HTTPS socket - fairly standard stuff.

Now assuming nobody else has already written this thing, I'm going to
have to know together some sort of library to handle to protocol. I
don't think the standard SOAP or XMLRPC stuff will do the job.

Writing it in a synchronous form is of course fairly straightforward,
however from experience I know that the Government Gateway can take an
enormous amount of time to respond to a request (even with a simple
acknowledgement message), and I don't really want the controller action
to block waiting for the Gateway to respond.

Is there a best practice way to code this sort of thing up?



Neil W.
Aldur Systems, UK
This topic is locked and can not be replied to.