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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkUrlAuthentification(long scomDataAddress, String url, String certificate, String user, String password)
Tries to authentification for WSDLurl
bycertificate
,user
name andpassword
String
getWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password)
Gets WSDL file content by url.boolean
needUpdateCertificate(long scomDataAddress, String url)
Checks that WSDLurl
need for authentificationWSDefinitionLoader.Certificate
boolean
needUrlAuthentification(long scomDataAddress, String url, String certificate)
Checks that WSDLurl
need authentification
-
-
-
Method Detail
-
getWSDefinitionContent
String getWSDefinitionContent(long scomDataAddress, String url, String certificate, String user, String password)
Gets WSDL file content by url. This method can throwRuntimeException
with information from native code- Parameters:
scomDataAddress
- address of SCOM process data with necessary componentsurl
- actual WSDL url, can't benull
certificate
- string representation ofWSDefinitionLoader.Certificate
. SeeWSDefinitionLoader.Certificate.toString()
. If Certificate not needed you should passnull
or empty stringuser
- name of the user for authentification, can benull
or empty string if user name not needed for authentificationpassword
- password for authentification, can benull
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 WSDLurl
bycertificate
,user
name andpassword
- Parameters:
scomDataAddress
- address of SCOM process data with necessary componentsurl
- actual WSDL url, can't benull
certificate
- string representation ofWSDefinitionLoader.Certificate
. SeeWSDefinitionLoader.Certificate.toString()
. If Certificate not needed you should passnull
or empty stringuser
- name of the user for authentification, can benull
or empty string if user name not needed for authentificationpassword
- password for authentification, can benull
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 WSDLurl
need authentification- Parameters:
scomDataAddress
- address of SCOM process data with necessary componentsurl
- actual WSDL url, can't benull
certificate
- string representation ofWSDefinitionLoader.Certificate
. SeeWSDefinitionLoader.Certificate.toString()
. If Certificate not needed you should passnull
or empty string- Returns:
true
if WSDLurl
need authentification,false
otherwise
-
needUpdateCertificate
boolean needUpdateCertificate(long scomDataAddress, String url)
Checks that WSDLurl
need for authentificationWSDefinitionLoader.Certificate
- Parameters:
scomDataAddress
- address of SCOM process data with necessary componentsurl
- actual WSDL url, can't benull
- Returns:
true
if WSDLurl
need for authentificationWSDefinitionLoader.Certificate
,false
otherwise
-
-