Package 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 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 query-
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
-
Methods 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
-
-
-
-
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 server- Throws:
EdmiException
- if the method fails
-
getURL
java.lang.String getURL()
Get query URL given for this query- Returns:
- query schema name
-
setURL
void setURL(java.lang.String s)
Set query URL to use for this query- Parameters:
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 himself- Parameters:
s
- string containing input data- Returns:
- 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 file- Parameters:
repositoryName
- repository namemodelName
- model name in the repositoryschemaName
- the schema namequerySchemaName
- the query namemappingSchemaName
- mapping schemaoptions
- options- Returns:
- the wsdl file in string
- Throws:
EdmiException
- if the method fails
-
listWebServices
java.lang.String[] listWebServices(long options) throws EdmiException
Retrieve the list of all web services/ QUERY FUNCTIONS- Parameters:
options
- options- Returns:
- list of all web services/ QUERY FUNCTIONS.
- Throws:
EdmiException
- if the method fails
-
-