I have a sp which I am executing from BizTalk orchestration.
When I am executing the SP in SQL server it's taking 10 sec, but when I am executing it from orchestration using below code, it's taking 1 hour.
sqlStoredProcRequestXml = reportRequestXml;
sqlStoredProcRequestXml(WCF.Action)= sqlProcedureName;
sqlStoredProcRequestXml(WCF.BindingType)="sqlBinding";
sqlStoredProcRequestXml(WCF.EnableTransaction) = false;
sqlStoredProcRequestXml(WCF.BindingConfiguration)= @"<binding name=""sqlBinding"" sendTimeout=""02:30:00"" />";
SndRcvSqlStoreProcRequestResponsePort(Microsoft.XLANGs.BaseTypes.Address)="mssql://" + dbServer + "//" + dbDatabase; SndRcvSqlStoreProcRequestResponsePort(Microsoft.XLANGs.BaseTypes.TransportType)="WCF-SQL";
Can anyone explain why there is 1 hour diff in execution of the SP.
There is nothing specific to BizTalk delaying the sp call so much. You can try following to find the root cause: