简体   繁体   English

错误由于EndpointDispatcher的AddressFilter不匹配,带有To''的消息无法在接收方处理

[英]Error The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher

I read the questions: 我读了以下问题:

But those don't solve my issue, yet. 但是那些还不能解决我的问题。

I have a web service: Service1 and application App1 which connects to Service1 through port 8089. 我有一个Web服务: Service1和应用程序App1 ,该应用程序通过端口8089连接到Service1

The config of App1 App1的配置

<system.serviceModel>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IService1" maxBufferPoolSize="327680" maxReceivedMessageSize="104857600" sendTimeout="00:01:30">
              <security mode="Transport" />
              <readerQuotas maxArrayLength="327680" maxBytesPerRead="327680" maxDepth="327680" maxNameTableCharCount="327680" maxStringContentLength="104857600" />
            </binding>
          </wsHttpBinding>
        </bindings>
        <client>

          <endpoint address="http://localhost:8089/" binding="wsHttpBinding"
                    bindingConfiguration="WSHttpBinding_IService1" contract="Service1Client.IService1"
                    name="WSHttpBinding_IService1">
            <identity>
              <dns value="localhost" />
            </identity>
          </endpoint>
        </client>
    </system.serviceModel>

and config of Service1 : Service1配置:

<system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding maxBufferPoolSize="327680" maxReceivedMessageSize="104857600">
          <security mode="None"/>
          <readerQuotas maxArrayLength="327680" maxBytesPerRead="327680" maxDepth="327680" maxNameTableCharCount="327680" maxStringContentLength="104857600"/>
        </binding>
      </wsHttpBinding>
    </bindings>
    <services>
      <service name="Service1.Service1">
        <endpoint address="" binding="wsHttpBinding" contract="Service1.Contract.IService1">
          <identity>
            <dns value="localhost"/>
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8089/"/>
          </baseAddresses>
        </host>
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="False"/>
          <serviceThrottling maxConcurrentCalls="200"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0"/>
</system.serviceModel>

I got error: 我收到错误消息:

The message with To ' http://localhost:8089/ ' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. 由于EndpointDispatcher上的AddressFilter不匹配,因此无法在接收方处理带有To'http :// localhost:8089 / '的消息。 Check that the sender and receiver's EndpointAddresses agree 检查发送方和接收方的EndpointAddresses是否一致

确保您的合同参考与服务器版本相同。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 "由于 EndpointDispatcher 的 AddressFilter 不匹配,接收方无法处理带有 To &#39;...&#39; 的消息" - The message with To '...' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher WCF 客户端不接受来自服务的响应。 由于 EndpointDispatcher 的 AddressFilter 不匹配,无法在接收方处理 - WCF Client does not accept response from service. Cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher 由于EndpointDispatcher的ContractFilter不匹配,因此无法在接收方处理带有动作&#39;&#39;的消息。 - The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. 由于EndpointDispatcher的ContractFilter不匹配,带有Action的消息无法在接收方处理 - The message with Action cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher 接收方无法处理带有动作“”的消息, - The message with Action '' cannot be processed at the receiver, EndpointDispatcher上的ContractFilter不匹配(错误处理) - ContractFilter mismatch at the EndpointDispatcher (error handling) WCF ContractFilter 在 EndpointDispatcher 错误处不匹配 - WCF ContractFilter mismatch at the EndpointDispatcher error WCF配置AddressFilter不匹配 - WCF Configuration AddressFilter mismatch WCF - AddressFilter不匹配 - WCF - AddressFilter mismatch 在EndpointDispatcher上ContractFilter不匹配? - ContractFilter mismatch at the EndpointDispatcher?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM