Package com._1c.g5.v8.dt.ws.common
Class NativeWSDefinitionLoader
- java.lang.Object
- 
- com._1c.g5.v8.dt.ws.common.NativeWSDefinitionLoader
 
- 
- All Implemented Interfaces:
- INativeWSDefinitionLoader
 
 public class NativeWSDefinitionLoader extends Object implements INativeWSDefinitionLoader Default implementation ofINativeWSDefinitionLoader
- 
- 
Constructor SummaryConstructors Constructor Description NativeWSDefinitionLoader()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckUrlAuthentification(long scomDataAddress, String url, String certificate, String user, String password)Tries to authentification for WSDLurlbycertificate,username andpasswordStringgetWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password)Gets WSDL file content by url.booleanneedUpdateCertificate(long scomDataAddress, String url)Checks that WSDLurlneed for authentificationWSDefinitionLoader.CertificatebooleanneedUrlAuthentification(long scomDataAddress, String url, String certificate)Checks that WSDLurlneed authentification
 
- 
- 
- 
Method Detail- 
getWSDefinitionContentpublic String getWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password) Description copied from interface:INativeWSDefinitionLoaderGets WSDL file content by url. This method can throwRuntimeExceptionwith information from native code- Specified by:
- getWSDefinitionContentin interface- INativeWSDefinitionLoader
- 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- nullor empty string
- user- name of the user for authentification, can be- nullor empty string if user name not needed for authentification
- password- password for authentification, can be- nullor empty string if password not needed for authentification
- Returns:
- WSDL file content, never null
 
 - 
checkUrlAuthentificationpublic boolean checkUrlAuthentification(long scomDataAddress, String url, String certificate, String user, String password)Description copied from interface:INativeWSDefinitionLoaderTries to authentification for WSDLurlbycertificate,username andpassword- Specified by:
- checkUrlAuthentificationin interface- INativeWSDefinitionLoader
- 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- nullor empty string
- user- name of the user for authentification, can be- nullor empty string if user name not needed for authentification
- password- password for authentification, can be- nullor empty string if password not needed for authentification
- Returns:
- trueif authentification pass correctly,- falseotherwise
 
 - 
needUrlAuthentificationpublic boolean needUrlAuthentification(long scomDataAddress, String url, String certificate)Description copied from interface:INativeWSDefinitionLoaderChecks that WSDLurlneed authentification- Specified by:
- needUrlAuthentificationin interface- INativeWSDefinitionLoader
- 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- nullor empty string
- Returns:
- trueif WSDL- urlneed authentification,- falseotherwise
 
 - 
needUpdateCertificatepublic boolean needUpdateCertificate(long scomDataAddress, String url)Description copied from interface:INativeWSDefinitionLoaderChecks that WSDLurlneed for authentificationWSDefinitionLoader.Certificate- Specified by:
- needUpdateCertificatein interface- INativeWSDefinitionLoader
- Parameters:
- scomDataAddress- address of SCOM process data with necessary components
- url- actual WSDL url, can't be- null
- Returns:
- trueif WSDL- urlneed for authentification- WSDefinitionLoader.Certificate,- falseotherwise
 
 
- 
 
-