OPCDA.NET-UA
UA Configuration Settings
Send comments on this topic.
OPCDA.NET-UA > Configuration > UA Configuration Settings

Glossary Item Box

Configuration settings for the UA wrapper are in the UA configuration file. This is an XML file with the default name:
     xxxx.Ua.Config.Xml    (with xxxx being the name of the application executable.

The name is defined in the OpcServer.UaConfigFileName property and can be set by the application in case the default is not acceptable. 

The settings in the UA configuration file are:

<?xml version="1.0" encoding="utf-8"?>

<
ApplicationConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">


<
ApplicationName>OPCDA.NET UA Option</ApplicationName>


<
ApplicationUri>urn:localhost:Advosol:DANW-UA</ApplicationUri>


<
ProductUri>http://advosol.com/OPCDA.NET/UA</ProductUri>


<
ApplicationType>Client_1</ApplicationType>





<
SecurityConfiguration>


<
ApplicationCertificate>


<
StoreType>Windows</StoreType>


<
StorePath>LocalMachine\UA Applications</StorePath>


<
SubjectName>OPCDA.NET UA Option</SubjectName>


</
ApplicationCertificate>






<
TrustedIssuerCertificates>


<
StoreType>Windows</StoreType>


<
StorePath>LocalMachine\Trusted UA Applications</StorePath>


</
TrustedIssuerCertificates>






<
TrustedPeerCertificates>
<StoreType>Windows</StoreType>


<
StorePath>LocalMachine\Trusted UA Applications</StorePath>


</
TrustedPeerCertificates>






<
RejectedCertificateStore>


<
StoreType>Directory</StoreType>


<
StorePath>%%\Advosol\RejectedCertificates</StorePath>


</
RejectedCertificateStore>








<
AutoAcceptUntrustedCertificates>false</AutoAcceptUntrustedCertificates>





</
SecurityConfiguration>



<
TransportConfigurations></TransportConfigurations>






<
TransportQuotas>


<
OperationTimeout>600000</OperationTimeout>


<
MaxStringLength>1048576</MaxStringLength>


<
MaxByteStringLength>1048576</MaxByteStringLength>


<
MaxArrayLength>65535</MaxArrayLength>


<
MaxMessageSize>4194304</MaxMessageSize>


<
MaxBufferSize>65535</MaxBufferSize>


<
ChannelLifetime>300000</ChannelLifetime>


<
SecurityTokenLifetime>3600000</SecurityTokenLifetime>


</
TransportQuotas>






<
ClientConfiguration>


<
DefaultSessionTimeout>60000</DefaultSessionTimeout>


<MinSubscriptionLifetime>60000</MinSubscriptionLifetime>


<EndpointCacheFilePath>Ua.Endpoints.xml</EndpointCacheFilePath>

<
WellKnownDiscoveryUrls xmlns:d3p1="http://opcfoundation.org/UA/2008/02/Types.xsd">


<
d3p1:String>opc.tcp://{0}:4840</d3p1:String>


<
d3p1:String>http://{0}/UADiscovery/Default.svc</d3p1:String>


<
d3p1:String>http://{0}:52601/UADiscovery/Default.svc</d3p1:String>


</
WellKnownDiscoveryUrls>


<
DiscoveryServers xmlns:d3p1="http://opcfoundation.org/UA/2008/02/Types.xsd" />



</
ClientConfiguration>






<
TraceConfiguration>


<
OutputFilePath>Ua.log.txt</OutputFilePath>


<
DeleteOnLoad>true</DeleteOnLoad>
<TraceMasks>513</TraceMasks>


<!--
Show Only Errors -->


<!--
<TraceMasks>1</TraceMasks> -->


<!--
Show Only Security and Errors -->


<!--
Show Only Security, Errors and Trace -->


<!--
<TraceMasks>515</TraceMasks> -->


<!--
Show Only Security, COM Calls, Errors and Trace -->


<!--
<TraceMasks>771</TraceMasks> -->


<!--
Show Only Security, Service Calls, Errors and Trace -->


<!--
<TraceMasks>523</TraceMasks> -->


<!--
Show Only Security, ServiceResultExceptions, Errors and Trace -->


<!--
<TraceMasks>519</TraceMasks> -->


</
TraceConfiguration>






<
DisableHiResClock>false</DisableHiResClock>


</
ApplicationConfiguration>

 

 

Copyright © 2020 Advosol Inc. All Rights Reserved.