Skip to main content

Unable to open web service tester page

7 replies [Last post]
newbie21
Offline
Joined: 2009-04-11
Points: 0

I'm trying my web service and I keep getting this error message :

"Unable to open web service tester page:
http://localhost:8080/WebApplication/WebApplication
Make sure the service has been deployed successfully, and the server is running"

The server is running and I tried my web service after doing my deploy. I know it's probably a setting that I have to modify but I just can't see where.

Thank You

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hari_krishnan
Offline
Joined: 2013-09-27
Points: 0

I too faced same problem in my lab. I found the reason it seems there was two services running on same port number. you need change either one of it to run web service. In my case., netbeans and oracle 10g running on same port 8080

Sreekanth

If you want to see your web service tester page,your url would be like:

http://localhost:8080/sampleApp/HelloWorldServiceService?Tester

where sampleApp is my webapplication and HelloWorldService is my
webservice.If you are using netbeans you can directly right click on
webservice and say Test Webservice.

Thanks,
Srekanth

glassfish@javadesktop.org wrote:
> I'm trying my web service and I keep getting this error message :
>
> "Unable to open web service tester page:
> http://localhost:8080/WebApplication/WebApplication
> Make sure the service has been deployed successfully, and the server is running"
>
> The server is running and I tried my web service after doing my deploy. I know it's probably a setting that I have to modify but I just can't see where.
>
> Thank You
> [Message sent by forum member 'newbie21' (newbie21)]
>
> http://forums.java.net/jive/thread.jspa?messageID=341794
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

faisal6621
Offline
Joined: 2011-04-04
Points: 0

I'm also having the same issue with NetBeans.

If I hit the URL in my browser http://localhost:8080/WelcomeSOAP/WelcomeSOAP?Tester it shows error:

Error generating artifacts for the following WSDL http://localhost:8080/WelcomeSOAP/WelcomeSOAP?WSDL
Possible
causes can be invoking https when the application is not configured for security

And if I hit the URL by replacing localhost with my computer name mohammadfaisal then it works.

What change I should made in NetBeans so that localhost will be replaced with my computer name?

newbie21
Offline
Joined: 2009-04-11
Points: 0

that's what I did right click on
webservice and say Test Webservice...but then I get the error message
"Unable to open web service tester page:
http://localhost:8080/WebApplication/WebApplication
Make sure the service has been deployed successfully, and the server is running"

drmdodd
Offline
Joined: 2009-05-24
Points: 0

Newbie21 did you have any lucky with your webservice issue. I am having the same problems myself.

ncysenros
Offline
Joined: 2011-03-18
Points: 0

Found this in another thread. It helped me:
glmarsh
Ok after reading everyones comments, thank you very much by the way, I decided to re-read the tutorial again and notice that you could :

> Choose File > New Project (Ctrl-Shift-N). Select Web Application from the Java Web category or EJB Module from the Java EE category.

I had choosen the Web Application from the Java Web Catagory the first time and apparently that was wrong. If you are using Glassfish you must select the Web Application from the EJB Module in the Java EE Catagory. Once you start the project out correctly everything else falls into place. A subtle but critical requirement. [Shocked]

Setomidor

I'm having this problem too (running a fresh install of Netbeans 6.7.1 with
bundled GlassFish server).

It seems that the service is deployed at:

http://localhost:8080/WSApplication/WS

But Netbeans expects this to be:

http://localhost:8080/WSApplication/WSService

This means that all URLs are wrong, and stuff like generating a WS client or
testing the WS won't work.
--
View this message in context: http://old.nabble.com/Unable-to-open-web-service-tester-page-tp23017628p...
Sent from the java.net - glassfish users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net