It's all about the answers!

Ask a question

help for restful web service


Ethan Zhao (314) | asked Feb 04 '09, 5:17 a.m.
hi, I want to provide some restful web services to the jazz server. how should I do.

Could anyone give me some instructions about how to write restful web service in Jazz.

Thanks.

3 answers



permanent link
Todd Lainhart (40611) | answered Feb 04 '09, 10:18 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
ethan.zhao wrote:
hi, I want to provide some restful web services to the jazz server.
how should I do.

Could anyone give me some instructions about how to write restful web
service in Jazz.

Thanks.


One way to do it is here: https://jazz.net/wiki/bin/view/Main/JazzRESTServicesV1
. Another way is to derive from IModelledRestService, using existing
derivations/services as models. Both of these approaches presume alot (e.g.
that you've written/installed a server component), and it's unclear from your
post whether or not you've yet cleared this bar. There's more information here
on programming to the RTC 1.0 SDK: https://jazz.net/wiki/bin/view/Main/RtcSdk

Note however that all of these approaches will be deprecated once the Jazz
Foundation Services, 1.0, becomes available in the summer.

--
Todd Lainhart
Jazz Repository/Foundation Team

permanent link
Ethan Zhao (314) | answered Feb 04 '09, 10:07 p.m.
Thanks very much.
Do you mean that current method is totally different with Jazz Foundation Services.

shall I wait untill Jazz Foundation Services is available.

--
Todd Lainhart
Jazz Repository/Foundation Team

permanent link
Todd Lainhart (40611) | answered Feb 05 '09, 1:18 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
ethan.zhao wrote:
Thanks very much.
Do you mean that current method is totally different with Jazz
Foundation Services.

shall I wait untill Jazz Foundation Services is available.


It depends upon what you want to do. How a component author exposes his/her
services will be different in JFS 1.0.

--
Todd Lainhart
Jazz Repository/Foundation Team

Your answer


Register or to post your answer.