NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
yvsong
Joined: 03 Jan 2011 Posts: 3
|
Posted: Mon Jan 03, 2011 9:43 pm Post subject: RESTful web service failure |
|
|
I switched from Eclipse+JBoss and thought NetBeans+Glassfish looked promising. However, I'm having a strange problem. Following the Java EE 6 Tutorial (Nov. 2010) to create a simple restful web service in a simple web application, right click the project to test the restful web service, the browser shows
WADL : http://localhost:8080/WebApplication1/resources/application.wadl
Test RESTful Web Services
Select a node on the navigation bar (on the left side of this page) to test.
and an empty left pane, with nothing to select. Typing the URL of the web service in the browser returns HTTP status 404. Tried both NetBeans 6.9.1 and 7.0 beta, with Glassfish 3.0.1 and 3.1. I'm running Ubuntu 10.10 on x86_64. Screenshot is broken. Thanks for any advice. |
|
| Back to top |
|
 |
yvsong
Joined: 03 Jan 2011 Posts: 3
|
Posted: Tue Jan 04, 2011 2:19 am Post subject: |
|
|
| I added REST servlet configuration in web.xml and the services are properly deployed. The RESTful web service tester in NetBeans works in Firefox but not in Google Chrome. It's a surprise. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|