package com.ejie.ad74a.webservices.toolkitWS;

import javax.jws.HandlerChain;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;

@WebService(name = "ToolkitWebService", serviceName = "ToolkitWebServiceImpl", portName = "ToolkitWebServiceImplPort", targetNamespace = "http://com.ejie.ad74a.webservice", endpointInterface = "com.ejie.ad74a.webservices.toolkitWS.ToolkitWebService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = ParameterStyle.WRAPPED)
@HandlerChain(file = "server-handlers.xml")
public interface ToolkitWebService {

	@WebMethod(operationName = "existeBeneficiarioAlta", action = "existeBeneficiarioAlta")
	@WebResult(name = "result")
	String existeBeneficiarioAlta(@WebParam(name = "dni") String dni) throws Exception;

	@WebMethod(operationName = "getIRPFYear", action = "getIRPFYear")
	@WebResult(name = "result")
	String getIRPFYear() throws Exception;

	@WebMethod(operationName = "getMotivosBaja", action = "getMotivosBaja")
	@WebResult(name = "result")
	String getMotivosBaja() throws Exception;

	@WebMethod(operationName = "getFechaSistema", action = "getFechaSistema")
	@WebResult(name = "result")
	String getFechaSistema(@WebParam(name = "pattern") String pattern) throws Exception;

	@WebMethod(operationName = "getDatoDireccion", action = "getDatoDireccion")
	@WebResult(name = "result")
	String getDatoDireccion(String documento, String campo) throws Exception;

}
