Two Laptop Bag
The moose likes Web Services and the fly likes Unable to open web service tester page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Unable to open web service tester page" Watch "Unable to open web service tester page" New topic
Author

Unable to open web service tester page

M sallu
Ranch Hand

Joined: Dec 13, 2009
Posts: 42
When I right click on a web service project and click "Test Web Service". I am getting an "Unable to open webservice tester page
http://localhost:8080/WebServiceApplication2/........

Make sure the service is running properly and server is running"

I checked the server GlassFish is working...what is the problem.


[Thumbnail for Localhost_notfound2.jpg]

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 482
Hi..

Before you test the web service, you should deploy it...
if you use netbeans Right click the project, select Run..
and then if the process finish, then you could test the webservice..

Hope that helps..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Benjamin Ugbene
Greenhorn

Joined: Sep 29, 2004
Posts: 9
Leonardo Carreira wrote:Hi..

Before you test the web service, you should deploy it...
if you use netbeans Right click the project, select Run..
and then if the process finish, then you could test the webservice..

Hope that helps..


Hi, I'm experiencing the same problem, I tried your fix, but it didn't work. My GlassFish server's working, and I have deployed the webservice.

I'm using NetBeans 6.8.
Brandt Kruger
Greenhorn

Joined: Oct 26, 2010
Posts: 1
I have the same problem???
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
A first test to make sure the web service is correctly deployed is to bring up its WSDL.
If there is no WSDL, then the web service has not been deployed correctly.
This test can be performed from any browser, before using the web service tester.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hi Ivan,

Could you please explain how to perform this test.

This test can be performed from any browser, before using the web service tester.


In my case , I get the deployment message in Netbeans output window as follows :
"INFO: CalculatorWSApplication was successfully deployed in 862 milliseconds."

But when I click on http://localhost:8080/CalculatorWS?wsdl ,I get the message "the link appears to be broken."

My code is as follows :


Thanks,
Pramod
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
You have already performed the test!
If you do not see the WSDL, despite a deploy that looks successful, I suggest taking a look in the application server logs to make sure that everything indeed is as it should.
Also take a look in the administration console of the application server to see that the web service application appears as it should.
Best wishes!
Ramesh Akella
Greenhorn

Joined: May 28, 2011
Posts: 1
1) Go to http://<hostname>:<port>/ (eg: http://localhost:8080)
You must see 'Your server is now running.

2) Click on 'go to the Administration Console'.

3) On the left navigation click on 'Applications'

4) Select the application and Undeploy.

5) From Netbeans IDE, redeploy the application.

Now you would be able to test the same.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to open web service tester page
 
Similar Threads
Help needed on Web services
Unable to load servlet in Tomcat 5.5
Web Services begginer
netbeans6.1 + Axis2 not displaying my services on Tomcat6 or glassfish
unable to open web sevice page