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.
BIT Statement LLC
(425)251-0833 x 117