I created the WCF service library. The purpose of the program is to expose two functions.
While locally, on the same machine, when running the vs2010, the wcfTestClient executes and "speaks" with the services, on the remote pc, invoking wcfTestClient and the url, I get 10061 error. "Actively refused".
Url I use is : "net.tcp://172.16.1.138:87 32/WCFEAFDSS/Box
or the same plus "/mex".
Following code is the xml. Which I think somewhere there lies the problem...Has anyone seen this message before?
Any ideas?
While locally, on the same machine, when running the vs2010, the wcfTestClient executes and "speaks" with the services, on the remote pc, invoking wcfTestClient and the url, I get 10061 error. "Actively refused".
Url I use is : "net.tcp://172.16.1.138:87 32/WCFEAFDSS/Box
or the same plus "/mex".
Following code is the xml. Which I think somewhere there lies the problem...Has anyone seen this message before?
Any ideas?
Code:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" /> </system.web> <!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> <system.serviceModel> <services> <service name="WCFEAFDSS.BoxSrv"> <endpoint address="net.tcp://localhost:8732/WCFEAFDSS/Box" binding="netTcpBinding" bindingConfiguration="" name="basic" contract="WCFEAFDSS.IBoxSrv"> <identity> <dns value="localhost" /> </identity> </endpoint> <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="mexEnding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="net.tcp://localhost:8732/WCFEAFDSS/Box" /> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name=""> <serviceMetadata httpGetEnabled="false" /> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration>
Comment