BizTalk+ESB Sending a request to WCFService through ESB does not return a response

James Treinen 1 Reputation point
2022-12-07T19:24:30.647+00:00

I have a BizTalk WCF service, using ESB that sends a request, and should be receiving one back. The process does a mapping then calls the routing servicing in the itinerary. The service sends the message back out, and maps it back to the original format.

I have the Receive port location transport properties set to select the itinerary. I also have the Send port location (dynamic - req/response) transports set up to use ESB cache. The issue is, the process times out when attempting to return the message from the WCF Service.

Error:

System.TimeoutException: Client is unable to finish the security negotiation within the configured timeout (00:00:59.9990382). The current negotiation leg is 1 (00:00:59.9990382). ---> System.TimeoutException: The request channel timed out while waiting for a reply after 00:00:59.9990382. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://localhost/WCFInitiator/Service1.svc' has exceeded the allotted timeout of 00:00:59.9990000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channel

The message type going in is correct, so I assume the mapping took place. The WCF service is anonymous access. It shows running under BizTalk Server Adm

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
364 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.