Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice method not getting executed.  RSS feed

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a simple webservice project in netbeans having a tomcat 6 as server.

In this i have created one simple method..
but when i click on Test Web Service.. it opens new browser with the details... but doesn't show the method.

Pl. reply...

My application is like this..

package pack1;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

* @author rskatkar
public class NewWebService {

* Web service operation
@WebMethod(operationName = "show")
public String show(@WebParam(name = "name")
String name) {
//TODO write your implementation code here:
return "hello"+name;


I want to call the show() method in java application(GUI). how is call web method in application?.
Hey cool! They got a blimp! But I have a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!