You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
857 B
Java
30 lines
857 B
Java
package org.gcube.resources.discovery.icclient.stubs;
|
|
|
|
import static org.gcube.resources.discovery.icclient.stubs.CollectorConstants.*;
|
|
|
|
import javax.jws.WebMethod;
|
|
import javax.jws.WebParam;
|
|
import javax.jws.WebResult;
|
|
import javax.jws.WebService;
|
|
import javax.xml.ws.soap.SOAPFaultException;
|
|
|
|
/**
|
|
* A local interface to the resource discovery service.
|
|
*
|
|
*
|
|
*/
|
|
@WebService(name=portType,targetNamespace=target_namespace)
|
|
public interface CollectorStub {
|
|
|
|
/**
|
|
* Executes a {@link QueryStub}.
|
|
* @param query the query
|
|
* @return the query results
|
|
* @throws MalformedQueryException if the query is malformed
|
|
* @throws SOAPFaultException if the query cannot be executed
|
|
*/
|
|
@WebMethod(operationName="XQueryExecute")
|
|
@WebResult(name="Dataset")
|
|
String execute(@WebParam(name="XQueryExpression") String query) throws MalformedQueryException;
|
|
}
|