Skip to content

Instantly share code, notes, and snippets.

@bernardoVale
Created April 8, 2013 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bernardoVale/5338601 to your computer and use it in GitHub Desktop.
Save bernardoVale/5338601 to your computer and use it in GitHub Desktop.
@WebService
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
use=SOAPBinding.Use.LITERAL,
parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
public interface ProfessorServer {
@WebMethod
public List<Professor> obterProfessores();
@WebMethod
public List<Disciplina> obterDisciplinas();
@WebMethod
public List<Disciplina> disciplinasDoProfessor(Professor p);
@WebMethod
public Professor obterProfessorDaDisciplina(Disciplina d);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment