Connect

concerns

The Connect function connects the service object to a web service.

If the connection to a Web service cannot be established, an error is generated that can be caught with the error-handling routines. The connection is made synchronously.

 

Syntax

Connect(ServiceURL, WSDL, Port, WSML)

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

ServiceURL

String

ByVal

The URL of the service

Required

WSDL

String

ByVal

Name of the service's WSDL file. This file describes the functions defined in the service

Optional

Port

String

ByVal

Port specification if it deviates from the default http port

Optional

WSML

String

ByVal

Name of the WSML file, if available