It's all about the answers!

Ask a question

Invoking a REST service from an Eclipse AttributePart

Roger Dunn (1654) | asked Sep 01 '11, 12:11 p.m.
I have a custom REST service running in the JazzTeamServer, and would like to invoke it from a custom AttributePart that I've written in Java, and which runs in the RTC Eclipse UI. Is there a recommended way to do this?

If it's as simple as using simple Java URL and URLConnection to invoke the service, is there a way to get the context root (the base URL) for the Jazz Team Server from within an AttributePart, so I don't have to hard-code it into the URL address?

Alternately, if Jazz provides any helper classes for accessing JTS REST services (like a RemoteServiceInvoker) that can be used from within a AttributePart within an RTC Eclipse plugin, can you point me to sample code?


Be the first one to answer this question!

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.