Reputation: 451
I am learning about SOAP web services and have written a simple dynamic web app with a plain old java class annotated with @WebService and @WebMethod but when the application is deployed to Glassfish 4, only the "web" engine is showing and not "webservice". Hence I am unable to access any tester page or link to WSDL.
Have already checked out this similar question, but the proposed answer did not help me, as I have checked and have the full Glassfish profile installed.
I have tried redeploying multiple times and tested this on both my Windows and OSX systems with equivalent setups and I am still encountering the same issue. I am using Eclipse Kepler. I have just installed the latest Glassfish update.
Hoping someone has found a solution to this problem.
Upvotes: 1
Views: 3068
Reputation: 1
After Making the changes in Class. Steps:
Upvotes: 0
Reputation: 2125
It appears your classes are not compiling under default build/classes directory.
Do either of the following: Right click on your project > Build Project. or Go to eclipse menu > Project > Build Automatically
Now redeploy your application again. webservices engine should be visible along with web engine.
Upvotes: 0
Reputation: 2563
You must have downloaded the 'Web Profile' version of GlassFish. Download the 'Full Profile' version and deploy your application once again. You should be able to find 'webservices' under Engines.
Upvotes: 1
Reputation: 11
I had this same problem, in my case i had used JAX-WS 2.2.6 inside libraries what produced this unstable behavior. Just don't use anything about JAX-WS if you are using JDK 7, don´t use anything else then natives JAX-WS. This took me days of work to find out... If this is not the exact solution for you, you should try to change your libraries (other JAR files)... one by one... Good lucky!
Upvotes: 1