25 lines
566 B
Plaintext
Executable File
25 lines
566 B
Plaintext
Executable File
package com.fp.webservices.snap.ruc;
|
|
|
|
import javax.jws.WebMethod;
|
|
import javax.jws.WebParam;
|
|
import javax.jws.WebService;
|
|
|
|
import ec.gov.sri.wsconsultacontribuyente.ContribuyenteCompleto;
|
|
|
|
/**
|
|
* Web servicio que interactúa con el servicio web del SRI y retorna los datos del contribuyente
|
|
* @author dcruz
|
|
*
|
|
*/
|
|
@WebService
|
|
public interface RucServicio {
|
|
|
|
/**
|
|
* Retorna los datos del contribuyente si es el RUC es válido
|
|
* @param ruc
|
|
* @return
|
|
*/
|
|
@WebMethod
|
|
public ContribuyenteCompleto consultarRuc(@WebParam(name = "ruc") String ruc);
|
|
}
|