Package edm.edom3

Interface EDMWebService

    • 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 name
        modelName - model name in the repository
        schemaName - the schema name
        querySchemaName - the query name
        mappingSchemaName - mapping schema
        options - 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