importer dnet-data-transformation-service-rmi in dnet-core-components

This commit is contained in:
Claudio Atzori 2019-06-07 14:33:51 +02:00
parent 7acac5986a
commit e098900ef4
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package eu.dnetlib.data.transformation.service.rmi;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import eu.dnetlib.common.rmi.BaseService;
@WebService(targetNamespace = "http://services.dnetlib.eu/")
public interface TransformationService extends BaseService {
W3CEndpointReference transform(@WebParam(name = "ruleid") final String ruleid, @WebParam(name = "epr") final W3CEndpointReference epr)
throws TransformationServiceException;
}

View File

@ -0,0 +1,21 @@
package eu.dnetlib.data.transformation.service.rmi;
import eu.dnetlib.common.rmi.RMIException;
public class TransformationServiceException extends RMIException {
private static final long serialVersionUID = 6186153317305098215L;
public TransformationServiceException(String string) {
super(string);
}
public TransformationServiceException(String string, Throwable exception) {
super(string, exception);
}
public TransformationServiceException(Throwable exception) {
super(exception);
}
}