WSDefinitions.Default

Syntax:

New WSDefinitions(<WSDLLocation>, <UserName>, <Password>, <InternetProxy>, <Timeout>, <SecureConnection>, <UseOSAuthentication>)

Parameters:

<WSDLLocation> (required)

Type: String.
WSDL file location to get the web service definitions from.

<UserName> (optional)

Type: String.
User name to be used for authentication when getting web service definitions.

<Password> (optional)

Type: String.
User password to be used for authentication when getting web service definitions.

<InternetProxy> (optional)

Type: InternetProxy.
It contains the object InternetProxythat is used to download the WSDL document using the HTTP protocol.
If it is not specified, default proxy settings are used.
Default value: Undefined.

<Timeout> (optional)

Type: Number.
Defines timeout for connection established for loading web-service WSDL description, in seconds.
0 - timeout is not set.
Default value: 0.

<SecureConnection> (optional)

Type: OpenSSLSecureConnection; Undefined.
Contains secure connection object for HTTPS connection for downloading the WSDL-definition of the web-service.
Default value: Undefined.

<UseOSAuthentication> (optional)

Type: Boolean.
Includes use of NTLM or Negotiate authorization on the server.
Default value: False.

Description:

Creates a web service definition from a WSDL file.
If a WSDL file used is invalid, an exception will be called.

    

1C:Enterprise Developer's Community