It's all about the answers!

Ask a question

How to make a request to TeamRawService from Jazz Web client?


1
1
oana hategan (11235) | asked Sep 25 '12, 10:10 a.m.
retagged Sep 25 '12, 11:36 a.m. by Mridula Muppana (1261)
Hello,

I followed the example from this tutorial: https://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html.

I saw that you can call a TeamModelledRestService from Jazz Web UI using a com.ibm.team.repository.web.transport.ServiceRequest object. My question is how can I call a service of type SimpleRestService? Do I need to create a ServiceRequest object, too? If I do, then what method should I pass as a parameter for the ServiceRequest constructor? I must add that the content-type of the service return is XML.  And also, what is the difference between ibm.team.repository.web.transport.ServiceRequest and ibm.team.repository.web.transport.RestRequest ?
Thank you,

Oana Hategan


Be the first one to answer this question!


Register or to post your answer.