It's all about the answers!

Ask a question

Web UI Client Development


Rakesh Kukkamalla (5615) | asked Jul 10 '08, 3:48 p.m.
Is there any tutorial provided where I can see how we can call services from a web client?

Does a service need to be RESTful to be able to be invoked from a web client? If not how can we invoke non RESTful services from a web client.

Thank you.

One answer



permanent link
Bill Higgins (4562523) | answered Jul 15 '08, 4:38 p.m.
JAZZ DEVELOPER
All of the Team Concert based web UIs use a "low-REST" style interaction with the server (GETs for retrieval and overloaded POST for everything else).

On the JavaScript side, we all use the JavaScript classes within the com.ibm.team.repository.web.transport package:

- ServiceRequest - encapsulates a GET or POST request for a resource
- ServiceResponseHandler - encapsulates callback logic in response to service responses
- TeamServerClient - acts as a single point of communication between Ajax UI and Team Server; assumes Modeled REST Services on the other side of the wire

On the server side the web UIs tend to use the ModeledRestService infrastructure for most tasks, because it really makes the low-REST style of communication easy, by automatically marshalling and demarshalling requests and responses.

- Bill Higgins
Jazz Web UI Development

Is there any tutorial provided where I can see how we can call services from a web client?

Does a service need to be RESTful to be able to be invoked from a web client? If not how can we invoke non RESTful services from a web client.

Thank you.

Your answer


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.