AnsweredAssumed Answered

creating rest support in my web application.

Question asked by shiva.arunachala on Mar 24, 2015
Latest reply on Mar 24, 2015 by jbarrez
I have made rest calls by deploying activiti-rest war in tomcat and invoking the url from my web application by

url = new URI("http://localhost:8081/activiti-rest/service/identity/users");

Now i dont want to deploy the activiti-rest as a different webapplication but want to just add rest jar and hit the rest servlet. Now what changes i want to make?

My guess would be to add below in web.xml

<!– Restlet adapter –> 
      <!– Application class name –>
  <!– Catch all requests –> 

and then hit the url like…
url = new URI("http://localhost:8081/myWebApp/service/identity/users");

Am i right in saying so? or have i missed anything else.?
Thanks in advance.