AVEVA Global WCF Configuration Guide

WCF Configuration Files : WCF Endpoint
The user must configure the baseaddress key in both the GlobalWCFClient.config file and the AdmindWCF.exe.config file.
<appSettings>
<add key="baseaddress" value="http://localhost:8000/Design_Time_Addresses/GlobalWcfServiceLib/GlobalWcfService_11_1_201011/" />
<add key="GLOBAL_PROTOCOL" value="RPC" />
</appSettings>
In the above example the HTTP protocol is used. Depending on the requirement the protocol can be changed to HTTPS or NET.TCP (this must be consistent with the chosen Binding).
The value localhost can be replaced with the name of the computer running the daemon (if on a different machine).
Note:
Better performance can be achieved if using localhost than the hostname of the local machine if on the same machine.
The value 8000 determines the port number used for WCF communication. The value can be set to any port number, although the administrator must make sure that the port is not blocked by a firewall (refer to Firewall Configuration).
The Design_Time_Addresses will be automatically replaced at run time with the UUID (Universally Unique Identifier) as specified in the base product project.
The binding determines the transfer protocol for the communication. The user must edit the Client binding in the GlobalWCFClient.config file and the Service binding in the AdmindWCF.exe.config file.
Open the GlobalWCFClient.config file and locate the following Client code block:
<client>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGlobalWcfService" contract="IGlobalWcfService_11_1_201011" name="WSHttpBinding_IGlobalWcfService">
</endpoint>
</client>
BasicHTTP –raw HTTP such as a Web page.
wsHTTP –secured HTTP such as a Banking web page.
netTCP –TCP such as RPC communications.
Open the AdmindWCF.exe.config file and locate the following code Services block:
<services>
<service behaviorConfiguration="GlobalWcfServiceBehavior" name="GlobalWcfServiceLib.GlobalWcfService">
<endpoint address=""
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGlobalWcfService" contract="GlobalWcfServiceLib.IGlobalWcfService_11_1_201011" behaviorConfiguration="ValidationBehavior">
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
Note:
The settings made in the GlobalWCFClient.config and AdmindWCF.exe.config files must be consistent.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo