Package com._1c.g5.v8.dt.ws.common
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 Summary
Modifier and TypeMethodDescriptionbooleancheckUrlAuthentification(long scomDataAddress, String url, String certificate, String user, String password) Tries to authentification for WSDLurlbycertificate,username andpasswordgetWSDefinitionContent(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 Details
-
getWSDefinitionContent
String getWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password) Gets WSDL file content by url. This method can throwRuntimeExceptionwith information from native code- Parameters:
scomDataAddress- address of SCOM process data with necessary componentsurl- actual WSDL url, can't benullcertificate- string representation ofWSDefinitionLoader.Certificate. SeeWSDefinitionLoader.Certificate.toString(). If Certificate not needed you should passnullor empty stringuser- name of the user for authentification, can benullor empty string if user name not needed for authentificationpassword- password for authentification, can benullor 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 WSDLurlbycertificate,username andpassword- Parameters:
scomDataAddress- address of SCOM process data with necessary componentsurl- actual WSDL url, can't benullcertificate- string representation ofWSDefinitionLoader.Certificate. SeeWSDefinitionLoader.Certificate.toString(). If Certificate not needed you should passnullor empty stringuser- name of the user for authentification, can benullor empty string if user name not needed for authentificationpassword- password for authentification, can benullor empty string if password not needed for authentification- Returns:
trueif authentification pass correctly,falseotherwise
-
needUrlAuthentification
Checks that WSDLurlneed authentification- Parameters:
scomDataAddress- address of SCOM process data with necessary componentsurl- actual WSDL url, can't benullcertificate- string representation ofWSDefinitionLoader.Certificate. SeeWSDefinitionLoader.Certificate.toString(). If Certificate not needed you should passnullor empty string- Returns:
trueif WSDLurlneed authentification,falseotherwise
-
needUpdateCertificate
Checks that WSDLurlneed for authentificationWSDefinitionLoader.Certificate- Parameters:
scomDataAddress- address of SCOM process data with necessary componentsurl- actual WSDL url, can't benull- Returns:
trueif WSDLurlneed for authentificationWSDefinitionLoader.Certificate,falseotherwise
-