I am trying to implement soap web service by using Java. It is showing package javax.jws does not exist. I have added the path to jdk also. I am new to Java, please help me.
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@WebService
@SOAPBinding(style=SOAPBinding.Style.RPC)
public class Hello {
public String sayHello(String name) {
return "Hello " + name;
}
}