Setting a timeout for an endpoint call

I have a business process that is using BusinessProcessInvoke to launch other business processes. The process is timing out occasionally at about 1 minute,40 seconds. We would rather not change the timeout value in web.config if there's an alternative. I seem to remember that you can set a timeout in CLR code for the call but can't remember exactly how. Is this possible?

Thanks,

Ray Porter

Comments

  • Hello Lester,

    Not sure if this will work but it's worth a try. When you're defining your AppFxWebService that you'll be using to make the calls, you can try to set the Timeout property associated with it to be something higher. Either that or you can adjust the TimeOutSeconds property of the ClientAppInfo property associated with your request.

Categories