Project

General

Profile

1
package eu.dnetlib.rmi.common;
2

    
3
import javax.jws.WebMethod;
4
import javax.jws.WebParam;
5
import javax.jws.WebService;
6

    
7
@WebService(targetNamespace = "http://services.dnetlib.eu/")
8
public interface BaseService {
9

    
10
	/**
11
	 * All DRIVER services must implement method notify() in order to communicate with the IS_SN
12
	 *
13
	 * @param subscriptionId
14
	 * @param topic
15
	 * @param isId
16
	 * @param message
17
	 */
18
	@WebMethod(operationName = "notify")
19
	void notify(@WebParam(name = "subscrId") String subscriptionId,
20
			@WebParam(name = "topic") String topic,
21
			@WebParam(name = "is_id") String isId,
22
			@WebParam(name = "message") String message);
23

    
24
	/**
25
	 * Identifies the service's version. Version syntax: ${NAME}-${MAJOR}.${MINOR}.${MICRO}[-${LABEL}]
26
	 *
27
	 * @return the service's version
28
	 */
29
	@WebMethod(operationName = "identify")
30
	String identify();
31

    
32
	@WebMethod(operationName = "getProfileId")
33
	String getProfileId();
34
}
(2-2/6)