NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

RESTful web service failure

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
yvsong



Joined: 03 Jan 2011
Posts: 3

PostPosted: Mon Jan 03, 2011 9:43 pm    Post subject: RESTful web service failure Reply with quote

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

PostPosted: Tue Jan 04, 2011 2:19 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo