Forums Register Login

Unable to open web service tester page

+Pie Number of slices to send: Send
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]
+Pie Number of slices to send: Send
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..
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
I have the same problem???
+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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 :

+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
    +Pie Number of slices to send: Send
    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 ?
    +Pie Number of slices to send: Send
    I have same issue with tomcat.
    Does any one know an answer!!!
       
    +Pie Number of slices to send: Send
    Found the solution
    it was an error of my database.
    Create database again and done everything again.
    It was fixed!!!
    Whatever you say buddy! And I believe this tiny ad too:
    a bit of art, as a gift, the permaculture playing cards
    https://gardener-gift.com


    reply
    reply
    This thread has been viewed 39631 times.
    Similar Threads
    Web Services begginer
    Help needed on Web services
    Problem while Encrypting SOAP body using Metro
    JAX-WS @WebServiceRef injection NullPointerException solution in NetBeans
    WebService TimedOutException
    More...

    All times above are in ranch (not your local) time.
    The current ranch time is
    Mar 28, 2024 12:23:46.