File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes REST services in JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "REST services in JBOSS" Watch "REST services in JBOSS" New topic

REST services in JBOSS

Cindy Jones
Ranch Hand

Joined: Oct 08, 2002
Posts: 66

I am trying out a sample REST service using JBOSS and the Rest Easy plugin.
I followed all the steps provided at the link below.
However, I am not able to access the service after deploying the war.

Here is what I did.
Modified web.xml in the rest easy war provided with RestEasy.

Put my classes in the lib folder
Created a war file with the modified contents and deployed to JBOSS.
The war was deployed successfully
Tried to access the following
Got a 404 response.

Has anyone worked with JBOSS and REST? Am I doing something wrong? Is there another resource that might help me?
Any help would be much appreciated.

Thanks in advance!
Cindy Jones
Ranch Hand

Joined: Oct 08, 2002
Posts: 66
Withdrawing this question. I was using the wrong url, without the context root! My apologies

I agree. Here's the link:
subject: REST services in JBOSS