32 lines
771 B
Plaintext
Executable File
32 lines
771 B
Plaintext
Executable File
package com.fp.frontend.webservices;
|
|
|
|
import javax.jws.WebMethod;
|
|
import javax.jws.WebParam;
|
|
import javax.jws.WebService;
|
|
import javax.xml.bind.JAXBException;
|
|
|
|
import com.fp.frontend.webservices.snap.modelo.SoapEnvelopWrapper;
|
|
|
|
/**
|
|
*
|
|
* @author Manuel Cepeda
|
|
*
|
|
*/
|
|
@WebService
|
|
public interface DatosSnapService {
|
|
|
|
/**
|
|
* Definicion del metodo que permite obtener la informacion de armas a ser publicada
|
|
* @param institucion
|
|
* @param nroDicumento
|
|
* @param serie
|
|
* @return
|
|
* @throws JAXBException
|
|
*/
|
|
@WebMethod
|
|
public SoapEnvelopWrapper obtenerDatos(@WebParam(name="institucion") String institucion, @WebParam(name="nroDocumento") String nroDocumento,
|
|
@WebParam(name="serie") String serie) throws JAXBException;
|
|
|
|
}
|
|
|