question

KumarChandraOCIO-3817 avatar image
0 Votes"
KumarChandraOCIO-3817 asked ColinDijkgraaf edited

WCF-WSHttp Adapter issue

Hi,
I am getting this error with Biztalk 2020 while consuming the wcf service , WCF service is returning the data successfully but BizTalk is generating this error.

A message sent to adapter "WCF-WSHttp" on send port "" with URI "" is suspended.
Error details: System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- 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 ---

biztalk-server
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Usually that sort of error is caused at the API you are connecting to, for some reason it is closing the connection. So you will probably have to look at the API end, rather than the BizTalk end. The most you can do at the BIzTalk end is enable WCF Logging see How to Diagnose Problems with the WCF Adapters


1 Vote 1 ·

0 Answers