I want to communicate with KepServerEx using the OPC.NET WCF service.
I have configured the server as described at http://ift.tt/1MKE8BE, with all bindings enabled. Everything seems OK : the service is running, no errors are displayed in the event log, the configured ports are open (tested with telnet, netstat).
The problem is that I don’t know how to reference the service. The configuration window displays the following information:
-
Name: KEPServerEXV5_OPCNET
-
Status: Running
I have tried different URI combinations to no avail. I have located the configuration file (xi_server_runtime.exe.config) , but it contains no serviceModel tag, hence no base address or endpoint information. I tried to configure a MEX endpoint as follows:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="OPCNET">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="OPCNET" name="KEPServerEXV5_OPCNET">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
</system.serviceModel>
but nothing has changed.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire