Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5.  
  6. package hello;
  7.  
  8. import javax.jws.WebService;
  9. import javax.ejb.Stateless;
  10. import javax.jws.WebMethod;
  11.  
  12. /**
  13. *
  14. * @author w
  15. */
  16. @WebService()
  17. @Stateless()
  18. public class HelloClient {
  19. private String message = "Hello, ";
  20.  
  21. public void Hello () {}
  22.  
  23. @WebMethod
  24. public String sayHello (String name) {
  25. return message + name + ".";
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement