Web UI Client 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. |
One answer
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? |
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.