importer dnet-data-transformation-service-rmi in dnet-core-components
This commit is contained in:
parent
7acac5986a
commit
e098900ef4
|
@ -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;
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue