EDMWebService

edm.edom3

Interface EDMWebService


  • All Superinterfaces:EDMContextDependent, EDMWorker



    public interface EDMWebService
    extends EDMWorker

    This worker implements running query functions in query schemata.
    • 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 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 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 file

        Parameters: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 FUNCTIONS

        Parameters:options - optionsReturns:list of all web services/ QUERY FUNCTIONS.Throws:EdmiException - if the method fails