This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Unable to open web service tester page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
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: 489

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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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.
Mohammad Faisal
Greenhorn

Joined: Mar 07, 2012
Posts: 1
I've gone through the steps given by @Ramesh Akella
But still in my NetBeans I'm unable to open the Test page as well as the WSDL page.
I'm using NetBeans 7.3 and GlassFish Server 3.1.2.2
Leefe Hicks
Greenhorn

Joined: Jun 11, 2014
Posts: 1
It's an old thread, but people keep having the problem and this pops up on the first page of Google search results, So here is the solution that I found.
--

I think the problem is caused by the default setting restricting access to External Schema.

If you are using NetBeans 8.0/7.4/7.3 try the following:

  • Go to the page Getting Started with JAX-WS Web Services
  • Following the Enabling Access to External Schema instruction


  • I think the Glassfish instructions for are the important ones.

    Though, yes, it is a pain that you need to reduce security to get the tester page working.


    http://leefe.ratedtheworld.com.au/
     
    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 open web sevice page
    netbeans6.1 + Axis2 not displaying my services on Tomcat6 or glassfish
    Web Services begginer
    Unable to load servlet in Tomcat 5.5