hi, i have created a custom workflow. it will call a web service (asmx, i referenced it and call it at the workflow environement)
the web service will run short or long depends on number of records i passed from the workflow to the web service
when the workflow run, it is perfectly fine when the records size is small.
however it will throw the error (listed below) when the file size is big
Workflow suspended temporarily due to error: Unhandled Exception: System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at ABC_BULKUPDATEWORKFLOW.ABCWS.ABCWS.SDS(String logicalname, String logicalid, String csvbinarystring)
at ABC_BULKUPDATEWORKFLOW.OKBULKUPDATEWORKFLOW.Execute(CodeActivityContext executionContext)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
note that the web service is in fact still running (i adjust the time out limit so that the web service will not time out.
afterwards, the workflow will retry by itself... and thus the workflow is keep repeating until it is succeed (however it cannot success because it is always timed out)
i wanna ask what i can do in order to prevent this exception throwing ( i have implemented a longer workflow before and it wont timed out. is it caused by calling of web reference? note that the web service will not return anything (return void). is it the reason that the workflow throw exception? the workflow is catching this exception System.Web.Services.Protocols.SoapException)
when the workflow can retry by itself? ( is it a new feature?)
can i disable workflow retry function?
a