【问题标题】:Adress Mismatch at the end point dispatcher端点调度程序的地址不匹配
【发布时间】:2015-10-05 14:41:59
【问题描述】:

我有一个 WCF 服务,它通过 BizTalk 使用 Web-Http 适配器。当我试图调用 wcf 服务时。我收到以下错误。

<?xml version="1.0"?>
-<Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none">
-<Code>
<Value>Sender</Value>
-<Subcode>
<Value xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">
a:DestinationUnreachable
</Value>
</Subcode>
</Code>
-<Reason>
<Text xml:lang="en-US">The message with To 'https://biztalkt01.abc.org/ELIMS/ELIMS-CGA1/Service1.svc/?specimenid=abc001234'' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.</Text>
</Reason>
</Fault>

当我用谷歌搜索这个错误时,我可以看到需要将此代码添加到服务代码中

[服务行为(AddressFilterMode=AddressFilterMode.Any)]

但不确定该服务的服务代码在哪里。

上面的文件夹是我看到的关于在 C:\inetpub\wwwroot\ELIMS\ELIMS-CGA1 中创建的服务的文件夹。代码是否需要添加到这些文件或 App_Data 中的文件中。

【问题讨论】:

    标签: wcf biztalk webhttp


    【解决方案1】:

    您需要为适配器正确配置端口设置。这与 WCF 配置文件无关,但与 BizTalk 本身中的接收位置设置有关。您必须设置 AddressBtsHttpUrlMapping 元素;有关这些特定元素的更多信息,请参阅https://msdn.microsoft.com/en-us/library/jj572859.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-30
      • 2018-05-17
      • 1970-01-01
      • 2012-01-14
      • 2013-11-23
      • 2022-12-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多