EndpointNotFoundException was unhandled by user code RRS feed

  • Question

  • Hi,

    I have a WCF service hosted on IIS, When I try to consume in the same machine it is working fine. But when I try to consume it from different machine, I am getting EndpointNotFoundException was unhandled by user code Error.

    There was no endpoint listening at that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

    But my end points are in web.config as like this

            <behavior name="MyServiceTypeBehaviors">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
          <service name="MyOneWorldService.MyOneWorldService"
            <endpoint address="" binding="wsHttpBinding"
            <endpoint contract="IMetadataExchange"
               binding="mexHttpBinding" address="mex"/>

    Please help me with your inputs. Thanks in advance.


    Monday, November 25, 2013 10:01 PM