Hello,
As RESTful web services is url based and is not a object, we can't call methods on it. I have a simple web service with only one method in it with is @GET
. I saw one screencast and it used some javascript library to consume the web service. But, how do i use it with my JSF project? I can't even inject it like a normal web service. Please help. I am new to REST. Can i not consume it in my managed bean?
If the only way to consume the webservice is through javascript, can anybody here give me details of how to consume it through JQuery?
Thanks in advance :)