[rt-users] XML-RPC to RT
Tom Lahti
toml at bitstatement.net
Thu Mar 19 18:01:20 EDT 2009
I've done something a bit evil, and perhaps a bit useful.
Previously on the list someone asked about having a web service to RT, and I
pointed out that it already has one (a REST interface).
But what if you have an environment where REST access is difficult at
best... say, classic ASP or (egads) VB6?
Well, I just took the ruby library I have and wrapped every method in a
XML-RPC service... and it works. Only took me about an hour. There could
just as easily be a wrapper using the json package as well. Of course, its
a security nightmare because no encryption in XML-RPC...you'd have to use SSL.
And of course, the wisdom of making a web service that accesses another web
service... dubious at best. If you're environment is that difficult to work
with, switch environments right? ;)
I hope I get to release this stuff. I'll include the XML-RPC service in the
package if I get to. I actually plan to use this from a classic ASP web
site; I really don't want to write a RT::Client::REST equivalent in ASP.
The thought makes me nauseous.
--
-- ============================
Tom Lahti
BIT Statement LLC
(425)251-0833 x 117
http://www.bitstatement.net/
-- ============================
More information about the rt-users
mailing list