初始化SystemLink数据服务的HTTP连接,以便使用SystemLink Server登录凭证和CA证书进行身份验证,建立与SystemLink Server的通信。

注: G Web开发软件不支持此函数。

输入/输出

verify server?

布尔值,确定此VI是否会验证连接是否受有效证书的保护。

The default value is True.

server url

此节点发送Web请求的服务器URL。

默认值:http://localhost:80

URL Syntax

部件 定义 示例
模式 Web服务使用的协议。 http://
主机 服务的域名或IP地址。 localhost
端口 Web服务的HTTP端口。如果未指定端口,则Web服务将使用默认端口。 80

使用以下语法提示与SystemLink Server的连接:https://host:<port>

要在SystemLink Server上托管Web应用程序,请将server url输入留空。

username

服务器的登录用户名。

password

服务器的登录密码。

ca certificate file

系统上保存自定义或私有CA证书(.cer)的文件路径。

The CA certificate authenticates a secure sockets layer to communicate data between your application and the server. If you leave this input unwired, the VI uses the system defaults, which includes public CA certificates.

error in

此节点运行前发生的错误情况。

节点根据标准错误处理方式响应此输入。

默认值:无错误

configuration

服务器连接。

error out

错误信息。

节点根据标准错误处理方式生成此输出。

Node Configuration for Hosting Your Web Application on SystemLink Server

在SystemLink Server上托管Web应用程序时,请将Open Configuration (User)节点的server urlusernamepassword输入留空。为了尽可能减少安全漏洞,SystemLink Server将使用您的LDAP或Windows用户帐户凭证进行身份验证。