Created
June 10, 2010 04:42
-
-
Save guimello/432560 to your computer and use it in GitHub Desktop.
Java WebService example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebService() | |
public class CadastrarPessoa | |
{ | |
@WebMethod(operationName = "cadastrarPessoa") | |
public boolean cadastrarPessoa(@WebParam(name = "pessoa") Pessoa pessoa) | |
{ | |
return false; | |
} | |
@WebMethod(operationName = "editarPessoa") | |
public boolean editarPessoa(@WebParam(name = "pessoa") Pessoa pessoa) | |
{ | |
return false; | |
} | |
@WebMethod(operationName = "excluirPessoa") | |
public boolean excluirPessoa(@WebParam(name = "pessoa") Pessoa pessoa) | |
{ | |
return false; | |
} | |
@WebMethod(operationName = "getPessoa") | |
public Pessoa getPessoa(@WebParam(name = "idPessoa") Pessoa idPessoa); | |
{ | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment