maia/.svn/pristine/50/504f95f39324b507ff537bf20c2...

34 lines
1.2 KiB
Plaintext
Executable File

package com.fp.frontend.webservices;
import java.util.Date;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
/**
* Servicio que contiene todas las operaciones del servicio web de inventario
* @author dcruz
*
*/
@WebService
public interface InventarioService {
/**
* Operación en la cual se ingresa los tag leídos desde la hand held
* @param tagslectura tags leídos en la lectura
* @param fechalectura fecha en la que se realizó la lectura
* @param locacionlectura lugar en la que se realizo la lectura
* @param idportal id del portal de donde se está receptando la información
* @param tipooperacion el tipo de operación; 1 si es lectura hand held, 2 si es portal
* @return 0 si la operació se realizo correctamente, 1 si ocurrio un error en el cliente, 2 si ocurrió algún error interno
*/
@WebMethod
public String guardaDatosLectura(
@WebParam(name="tagslectura")String tagslectura,
@WebParam(name="fechalectura")Date fechalectura,
@WebParam(name="locacionlectura")String locacionlectura,
@WebParam(name="idportal")String idportal,
@WebParam(name="tipolectura")String tipooperacion);
}