the service has been generated
@ WebService
public class HelloWorld {
@WebMethod
public String sayHello(String str){
System.out.println("get Message...");
String result = "Hello World, "+str;
return result;
}
public static void main(String[] args) {
System.out.println("server is running");
String address="http://localhost:8888/HelloWorld";
Object implementor =new HelloWorld();
Endpoint.publish(address, implementor);
}
}
how can I call my sayHello method in postman