EDMWebService
edm.edom3
Interface EDMWebService
All Superinterfaces:EDMContextDependent, EDMWorker
public interface EDMWebService extends EDMWorker
This worker implements running query functions in query schemata.
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description java.lang.String
getOutputData(java.lang.String s)
Retrieve output data as direct data or filename.java.lang.String
getServerAddress()
Retrieve the assigned server address for this web service.java.lang.String
getURL()
Get query URL given for this queryjava.lang.String
getWSDL(java.lang.String repositoryName, java.lang.String modelName, java.lang.String schemaName, java.lang.String querySchemaName, java.lang.String mappingSchemaName, int options)
Retrieve the WSDL filejava.lang.String[]
listWebServices(long options)
Retrieve the list of all web services/ QUERY FUNCTIONSvoid
setInputData(java.lang.String s)
Assign input data as direct data or filename.void
setServerAddress(java.lang.String address)
Set the server address for this query.void
setURL(java.lang.String s)
Set query URL to use for this queryMethods inherited from interface edm.edom3.EDMWorker
execute, getConfiguration, getFileMappings, getFormalParameters, getHitsOut, getIndexOut, getLogDescription, getOptions, getParameters, getResult, getSource, getTarget, resetOptions, setConfiguration, setFileMappings, setOptions, setParameters, setSource, setSystemOutput, setSystemOutput, setTarget, setUserOutput, setUserOutput
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
Method Detail
getServerAddress
java.lang.String getServerAddress() throws EdmiException
Retrieve the assigned server address for this web service.Returns:assigned server address.Throws:EdmiException - if the method fails
setServerAddress
void setServerAddress(java.lang.String address) throws EdmiException
Set the server address for this query.Parameters:address - address of the serverThrows:EdmiException - if the method fails
getURL
java.lang.String getURL()
Get query URL given for this queryReturns:query schema name
setURL
void setURL(java.lang.String s)
Set query URL to use for this queryParameters:s - query schema name
setInputData
void setInputData(java.lang.String s)
Assign input data as direct data or filename. String - must have INPUT_IN_STRING option set. File - must have INPUT_IN_FILE option set.Parameters:s - string containing input data
getOutputData
java.lang.String getOutputData(java.lang.String s) throws EdmiException
Retrieve output data as direct data or filename. String - must have RESULT_IN_STRING option set. Filename - must have RESULT IN_FILE option set. The file is created by EDM kernel, but caller must delete it himselfParameters:s - string containing input dataReturns:output data as direct data or filename.Throws:EdmiException - if the method fails
getWSDL
java.lang.String getWSDL(java.lang.String repositoryName, java.lang.String modelName, java.lang.String schemaName, java.lang.String querySchemaName, java.lang.String mappingSchemaName, int options) throws EdmiException
Retrieve the WSDL fileParameters:repositoryName - repository namemodelName - model name in the repositoryschemaName - the schema namequerySchemaName - the query namemappingSchemaName - mapping schemaoptions - optionsReturns:the wsdl file in stringThrows:EdmiException - if the method fails
listWebServices
java.lang.String[] listWebServices(long options) throws EdmiException
Retrieve the list of all web services/ QUERY FUNCTIONSParameters:options - optionsReturns:list of all web services/ QUERY FUNCTIONS.Throws:EdmiException - if the method fails