Web.config
<behavior name="JobsServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483646" />
<serviceMetadata httpGetEnabled = "true" httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<service behaviorConfiguration="JobsServiceBehavior"
name="XDE.WebServices.Implementation.JobManagerService">
<endpoint binding="wsDualHttpBinding"
name="WSDualHttpBinding_IJobManagerService"
bindingConfiguration="wsDualHttpBinding"
contract="XDE.CommonInterfaces.Jobs.IJobManagerService" />
</service>
app.config
<client>
<endpoint address="http://192.192.192.1/Services/JobService.svc"
binding="wsDualHttpBinding"
bindingConfiguration="WSDualHttpBinding_IJobManagerService"
contract="XDE.CommonInterfaces.Jobs.IJobManagerService"
name="WSDualHttpBinding_IJobManagerService" />
</client>
Hello, I Have an issue with wcf service. I have a service hosted in an mvc app on iis on a server machine, when i try to access it nothing happens annd i get a null refrence. I am using DuplexChannelFactory and when i call the open() method nothing happens for a while and then the aplication closes. This does not happen if I am hosting the mvc app on the same machine as the service consuming app.