• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to open web service tester page

 
M sallu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Localhost_notfound2.jpg
[Thumbnail for Localhost_notfound2.jpg]
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Benjamin Ugbene
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem???
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
pramod talekar
Ranch Hand
Posts: 366
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    Ramy Nady
    Ranch Hand
    Posts: 112
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Dears ,

    I still have the same issue.
    The post from @Ramesh Akella copied from stake over flow and it doesn't work.

    Any other suggestion please ?
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic