Frank
Frank

Reputation: 31096

Why Netbeans Test RESTful sample program doesn't work?

I've followed Netbeans Getting Started with RESTful Web Services example :

https://netbeans.org/kb/docs/websvc/rest.html

It generated the project, but after I hit the "Test RESTful Web Services" selection, it displayed a page without left bar, like this :

enter image description here

I'm using Firefox 23.0, how to fix this ?

Upvotes: 1

Views: 2178

Answers (2)

ddarellis
ddarellis

Reputation: 3960

You have to deploy your Web Service first.

Then create a web Application.

Then test restful in that project by right clicking in RESTFUL WEB SERVICES package and choose test project.

And don`t forget to change the url open to the name of the test project. For example:

http://localhost:8080/HappyHourServer/test-resbeans.html ----> http://localhost:8080/TESTPROJECTNAMEEEEE/test-resbeans.html

And again don`t forget to deply your web services first!!!!!

Upvotes: 2

vinsiq
vinsiq

Reputation: 21

Have you tried to create a second web service to execute the first, like in the tutorial?

I had the same problem as you, but in my case, XAMPP was open. So I closed it, restarted the computer and followed the tutorial precisely.

Upvotes: 0

Related Questions