本文介绍了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)---内部异常堆栈跟踪的结束---在




结果)---内部结束的行高:20px">&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) 


 

解决方案

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) 

 

解决方案


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

08-15 20:26