Service

The Service object allows you to connect to a web service.

Web services are function libraries accessible via the Internet.

To do this define a feature (here: Service1) of the type COM object reference and enter the COM class name in the “class” property

TCEServer.Service

Alternatively, define a local variable in a function:

 

Dim Service1 As TCEServer.Service

Initialize the Service object in a function:

 

Service1 := New TCEServer.Service

Now initialize the service object with the properties specified below to properly address the web service.

Then connect to the web service:

 

Service1.Connect("http://server.de", "Service1.wsdl", 80)

Then go to the web service function of your choice:

 

Result := Service1.Execute("GetData", 10, 5, "ABC", RetValue)

Stop connecting to the web service by scheduling the object:

 

Service1 := Nothing

 

 

More:

AuthPassword (Service)

AuthScheme (Service)

AuthUser (Service)

Connect (Service)

EnableAutoProxy (Service)

Execute (Service)

ProxyPassword (Service)

ProxyServer (Service)

ProxyUser (Service)

SSLClientCertificateName (Service)

TimeOut (Service)