• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Webservice method not getting executed.

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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
*/
@WebService()
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?.
reply
    Bookmark Topic Watch Topic
  • New Topic