Biztalk 2013 Salesforce Integration错误 [英] Biztalk 2013 Salesforce Integration error

查看:55
本文介绍了Biztalk 2013 Salesforce Integration错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


   我正在实施SalesTalk Integration to BizTalk2013 WCFwebhttp Adapter。以下是我所遵循的MSDN的以下代码。



http://msdn.microsoft.com/en-us/library/dn198272 (v = bts.80).aspx



这是代码示例



http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286



 代码将在公司网络之外正常运行。连接到公司网络后,我面临以下错误。 



请帮我解决。



System.ServiceModel.EndpointNotFoundException:在https://na15.salesforce.com/services/data/v24.0/query?q=SELECT+Amount上没有监听端点%% 2C + ID %% 2C +名称%% 2C(SELECT +数量%% 2C + ListPrice %% 2cPricebookEntry.UnitPrice %% 2C + PricebookEntry.Name + FROM + OpportunityLineItems)+ FROM +机遇+凡+姓名+ %% 3D + '机会3 + +客户+ 1'
可以接受该消息。 




这通常是由不正确的地址或SOAP操作引起的。有关详细信息,请参阅InnerException(如果存在).---> System.Net.WebException:
无法连接到远程服务器---> 




System.Net.Sockets.SocketException:连接尝试失败,因为连接方在
a一段时间后没有正确响应,或者由于连接主机无法响应而建立连接失败96.43.146.88 :443位于System.Net.Service.Service.ConnectSocketInternal的System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)(布尔值connectFailure,套接字
s4,套接字s6,套接字和套接字,IPAddress&地址,ConnectSocketState状态,IAsyncResult asyncResult,Exception& exception)---内部异常堆栈跟踪的结束---在




&System:Net.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)异常堆栈跟踪---服务器堆栈跟踪:位于System.ServiceModel.Channels.ServiceModel.Channels.ServiceChannel的System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult结果)的System.Runtime.AsyncResult.End [TAsyncResult](IAsyncResult结果)。 System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)中的EndCall(String
action,Object [] outs,IAsyncResult result)在[0]处重新抛出异常:at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg,IMessage retMsg)在Microsoft.BizTalk的System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult结果)的System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData,Int32类型)中。 Adapter.Wcf.Runtime.Wc fClient`2.RequestCallback(IAsyncResult result) 


 

解决方案

以下可能是导致错误的原因:


  1.  代理问题: 

在这种情况下,如下所示在BTSNTSvc64.exe.config中设置代理地址也可以。  这将使主机实例上运行的所有应用程序和端口的设置全局。



< system.net>

< ; defaultProxy useDefaultCredentials =" true">

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < proxy proxyaddress =" http:// clientcache" />

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / defaultProxy>

< /system.net> 


2。与BizTalk相关的性能问题:检查主机实例是否没有限制或遇到Out of Memory问题。


3。如果上述2个选项无效,您可以尝试与网络团队联系,看看是否存在网络问题。


问候, 

Rasika

 



Hi,

   I am implementing sales force Integration to BizTalk2013 WCFwebhttp Adapter. Here is the below code of MSDN I followed.

http://msdn.microsoft.com/en-us/library/dn198272(v=bts.80).aspx

Here is the Code sample

http://code.msdn.microsoft.com/Integrating-BizTalk-Server-f31e4286

  Code will be working fine outside of corporate network. After connecting to corporate network i am facing the below error. 

Please help me to resolve.

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://na15.salesforce.com/services/data/v24.0/query?q=SELECT+Amount%%2c+Id%%2c+Name%%2c(SELECT+Quantity%%2c+ListPrice%%2cPricebookEntry.UnitPrice%%2c+PricebookEntry.Name+FROM+OpportunityLineItems)+FROM+Opportunity+Where+Name+%%3d+'Opportunity3+with+Customer+1' that could accept the message. 

This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server ---> 

System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 96.43.146.88:443 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at

 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- Server stack trace: at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result) 

 

解决方案

Following can be the possible reasons for the error:

  1.  Proxy issues: 

in that case setting the Proxy address in BTSNTSvc64.exe.config like below also works.  This will make the setting global for all Applications and Ports running on a Host Instance.

<system.net>
<defaultProxy useDefaultCredentials="true">
                        <proxy proxyaddress="http://clientcache" />
            </defaultProxy>
</system.net> 

2. Performance issues with respect to BizTalk: Check if the host instance is not throttling or running into Out of Memory issues.

3. If the above 2 options do not help you can try connecting with your network team as well to see if there is a network issue.

Regards, 
Rasika



这篇关于Biztalk 2013 Salesforce Integration错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆