simultaneous calling COM object method



Hi, all.

Excuse me for my English.

I have ASP.NET web service with one method "Test".
This method "Test" invoke COM object method "Sleep".
And COM object method "Sleep", in one's turn, call procedure "Sleep"
from Windows API.
If I make 2 simultaneous call of method "Test" (web service) then
observe next scene: All call executes "one after another".

But,
Web service ApartmentState: MTA.
COM object ThreadingMode: Free

For instance,
During first call:
web service method thread ID - 1003
COM object method thread ID - 1003
During second call:
web service method thread ID - 2756
COM object method thread ID - 2756

Where is a bottleneck?

Thank you.

.



Relevant Pages

  • Re: Web service on two tables
    ... Cor I am looking at your solution. ... Miha I am ... new to the whole scene, I know I should know more about it. ... If I can get an example of a web service with ...
    (microsoft.public.dotnet.xml)
  • Re: Web service on two tables
    ... Cor I am looking at your solution. ... Miha I am ... new to the whole scene, I know I should know more about it. ... If I can get an example of a web service with ...
    (microsoft.public.dotnet.framework.adonet)
  • REALLY slow perfromance when posting DIME attachments
    ... The web service code finished its work in 750-790 milliseconds. ... This reports receiving 4 MB ... and the code as I said executes in around 780 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: parse data question
    ... I would only want make and model to display on my page ... >> I wrote a web service that connects to the db and executes all the SP's ...
    (microsoft.public.dotnet.framework.aspnet)
  • parse data question
    ... I wrote a web service that connects to the db and executes all the SP's and i ... have all the data being displayed in grids, ... returned I need to parse out the only certain dataitems from the dataset ...
    (microsoft.public.dotnet.framework.aspnet)

Loading