... "कोई अंतिम बिंदु पर सुन रहा था ..."मैं एक साधारण WCF सेवा चलाने के लिए कोशिश कर रहा हूँ
मेरे WCF सेवा .config:
<system.serviceModel>
<services>
<service name ="WebService.Receptor">
<endpoint
address = "http://MyServer:8000/WS"
binding = "wsHttpBinding"
contract = "IMyContract"
/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
मेरी विंडोज सेवा .config:
<system.serviceModel>
<client>
<endpoint
name = "Receptor"
address = "http://MyServer:8000/WS"
binding = "wsHttpBinding"
contract = "IMyContract"
/>
</client>
</system.serviceModel>
ओब्स: डब्ल्यूसीएफ सर्व बर्फ विंडोज पर आईआईएस 7.5 के तहत चल रहा है 7.
तो, जब मैं WCF प्रॉक्सी (IMyContract) से एक विधि कॉल करने की कोशिश मैं यह त्रुटि आई:
There was no endpoint listening at http://MyServer:8000/WS that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
भीतरी अपवाद:
{"Unable to connect to the remote server"}
कोई भी जानता है क्यों?