I have a multi-user COM + application that needs to complete several requests in SOAP WebServices. Each SOAP request can last from 10 to 60 seconds (this is not under my control). The problem is that I can never make more than two queries at the same time.
If I have, for example, 3 simultaneous requests, then the third request starts only after the second is completed. I observed the same behavior in a console application (for testing purposes) making multiple concurrent requests for the same WebService, and again I was limited to two requests.
When I tried to use the same Web services with a different language (C #), then this happened, BUT, on a C # computer there is a property that solves the problem:
System.Net.ServicePointManager.DefaultConnectionLimit
When I increased this property, I was able to save any number of concurrent requests that I wanted. Is there a property similar to what is on Delphi?
I am using a WSDL importer tool to use web services (Delphi XE2).
soap web-services delphi delphi-xe2 com +
lucasdclopes
source share