Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Invoking a REST service from an Eclipse AttributePart

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?

Thanks!

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,928

Question asked: Sep 01 '11, 12:11 p.m.

Question was seen: 3,753 times

Last updated: Sep 01 '11, 12:11 p.m.

Confirmation Cancel Confirm