Hello all , i'm new guy, i Have a problem in PTWIN under WCF,
www\WcfHost CONFIG FILE IN IIS
<services>
<service name="Csla.Server.Hosts.WcfPortal" behaviorConfiguration="returnFaults">
<endpoint name="WcfDataPortal" contract="Csla.Server.Hosts.IWcfPortal" binding="mexHttpBinding" address="mex" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="returnFaults">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
I can ask http://sfcserver03:8080/WcfHost/WcfPortal.svc usder IE.
<system.serviceModel>
<client>
<endpoint name="WcfDataPortal"
address="http://sfcserver03:8080/WcfHost/WcfPortal.svc"
binding="mexHttpBinding"
contract="Csla.Server.Hosts.IWcfPortal" />
</client>
</system.serviceModel>
MESSAGE
There was no endpoint listening at http://sfcserver03:8080/WcfHost/WcfPortal.svc that could accept the message. This is often caused by an incourrect address or soap action......................
I doubt the mexHttpBinding will work for the data portal. That binding is designed to transfer metadata about the service, not to actually invoke the service.
You should be using wsHttpBinding or maybe basicHttpBinding.
Copyright (c) Marimer LLC