Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4621550
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:43:02+00:00 2026-05-22T02:43:02+00:00

We have a WCF service method (synchronous), which calls another process (through COM) to

  • 0

We have a WCF service method (synchronous), which calls another process (through COM) to do some stuff. Now this COM process takes about 10-15 seconds to complete and then returns the call to my service which in turn should be returned to the client.

On the WCF client side, we have a sendtimeout set as 5 seconds, so after 5 seconds we receive timeout exception in the client.

Now my question is what happens on the service side after the client receives timeout exception. Because the call the COM process is still in progress and may return to service after another 5-10 seconds, how the service handles this scenario.

Let me know if further input is required.

Regards,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:43:03+00:00Added an answer on May 22, 2026 at 2:43 am

    Afaik, an exception is thrown on the client side but the service carries on the operation. If you have long running operations, you might check out asynchronous calls.

    Update:
    If this is not possible and increasing the timeout is not an option by the same reason, I can’t see how you can avoid the timeout exception. Some ways to recover:

    • If you’d like to abort the server operation on client timeout, you might add a service operation like CancelCOMCall, and invoke from the client when it catches a TimeoutException, which would kill the COM process.

    • If you want to let the operation complete but prevent duplicate calls from the client (caused by retries after timeout exception), you might save which COM operations are running per client and discard calls for already running processes.

    I’d agree neither method is very neat, but it looks a little difficult to me without asynchronous calls. I’m not a WCF expert though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I have a simple wcf service like this, with a test method which
I have a WCF service which will be hosted under IIS. Now I have
I have a WCF service method that accepts a List of objects. For this
I have a WCF service method which takes more than two hours to execute
I have a WCF service which is workng fine but I now want to
I have a WCF Service that exposes a method GetCustomers(). The internals of the
I have a simple WCF service method: [OperationContract] public SetupGameResult SetupGame(long player1Id, long player2Id,
I have a WCF service, in it i have a method that takes a
I have a desktop app I authenticate using the wcf authentication service login method,
I have a WCF Service which I am calling asychronously. If I call a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.