我在从 BizTalk 2010 调用 Web 服务时遇到问题。我已经阅读了一个教程、许多关于类似问题的论坛并遵循了建议。到目前为止,我无法让 BizTalk 成功使用提供的 Web 服务。
发送端口设置详细信息。
WCF 类型:WCF-WSHttp
Web 服务用于编排,逻辑端口使用“稍后指定”选项
端口是静态端口
逻辑端口中使用的操作名称设置为 'LogError' -
<wsdl:operation name="LogError">
<soap:operation soapAction="https://www.practicevelocity.com/PVLoggingService/LogError" style="document" />
<wsdl:input>
- 常规选项卡,用于配置 SOAP 操作标头、文本框,使用上面的字符串指定单个操作“soapAction”,即 -
https://www.practicevelocity.com/PVLoggingService/LogError
安全选项卡,安全模式 == 无
我似乎缺少/不了解哪些配置项不合适。
有什么进一步的建议吗?
Error from Event Properties [ Windows log > Application ]
Log Name: Application
Source: BizTalk Server
Date: 9/5/2013 4:30:22 PM
Event ID: 5743
Task Category: BizTalk Server
Level: Warning
Keywords: Classic
User: N/A
Computer: xxxxxxxxxxxxxxxxx.PracticeVelocity.com
Description:
The adapter failed to transmit message going to send port "SendPort_PVInfoLoggingService" with URL "http://devlogging.practicevelocity.com/13_3/EDILogService.asmx?". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.FaultException: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:MustUnderstand</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">SOAP header Action was not understood.</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="BizTalk Server" />
<EventID Qualifiers="32960">5743</EventID>
<Level>3</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-09-05T21:30:22.000000000Z" />
<EventRecordID>58220</EventRecordID>
<Channel>Application</Channel>
<Computer>xxxxxxxxxxxxxxx.PracticeVelocity.com</Computer>
<Security />
</System>
<EventData>
<Data>SendPort_PVInfoLoggingService</Data>
<Data>http://devlogging.practicevelocity.com/13_3/EDILogService.asmx?</Data>
<Data>System.ServiceModel.FaultException: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:MustUnderstand</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">SOAP header Action was not understood.</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)</Data>
</EventData>
</Event>