Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservice method not getting executed.

Rupa Katkar
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?.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic