Interface INativeWSDefinitionLoader

All Known Implementing Classes:
NativeWSDefinitionLoader

public interface INativeWSDefinitionLoader
Special interface for getting specific information for loading WSDL content file by url from native API
  • Method Details

    • getWSDefinitionContent

      String getWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password)
      Gets WSDL file content by url. This method can throw RuntimeException with information from native code
      Parameters:
      scomDataAddress - address of SCOM process data with necessary components
      url - actual WSDL url, can't be null
      certificate - string representation of WSDefinitionLoader.Certificate. See WSDefinitionLoader.Certificate.toString(). If Certificate not needed you should pass null or empty string
      user - name of the user for authentification, can be null or empty string if user name not needed for authentification
      password - password for authentification, can be null or empty string if password not needed for authentification
      Returns:
      WSDL file content, never null
    • checkUrlAuthentification

      boolean checkUrlAuthentification(long scomDataAddress, String url, String certificate, String user, String password)
      Tries to authentification for WSDL url by certificate, user name and password
      Parameters:
      scomDataAddress - address of SCOM process data with necessary components
      url - actual WSDL url, can't be null
      certificate - string representation of WSDefinitionLoader.Certificate. See WSDefinitionLoader.Certificate.toString(). If Certificate not needed you should pass null or empty string
      user - name of the user for authentification, can be null or empty string if user name not needed for authentification
      password - password for authentification, can be null or empty string if password not needed for authentification
      Returns:
      true if authentification pass correctly, false otherwise
    • needUrlAuthentification

      boolean needUrlAuthentification(long scomDataAddress, String url, String certificate)
      Checks that WSDL url need authentification
      Parameters:
      scomDataAddress - address of SCOM process data with necessary components
      url - actual WSDL url, can't be null
      certificate - string representation of WSDefinitionLoader.Certificate. See WSDefinitionLoader.Certificate.toString(). If Certificate not needed you should pass null or empty string
      Returns:
      true if WSDL url need authentification, false otherwise
    • needUpdateCertificate

      boolean needUpdateCertificate(long scomDataAddress, String url)
      Checks that WSDL url need for authentification WSDefinitionLoader.Certificate
      Parameters:
      scomDataAddress - address of SCOM process data with necessary components
      url - actual WSDL url, can't be null
      Returns:
      true if WSDL url need for authentification WSDefinitionLoader.Certificate, false otherwise