I have a multi-user COM+ application that needs to make multiple requests on SOAP WebServices. Each SOAP request may last from 10 to 60 seconds (that is not under my control). Problem is, I can never make more than 2 requests at the same time.
When I have, for example, 3 concurrent requests the third requests only starts when the second one finishes. I watched the same behaviour on a console application (for testing purposes) making multiple concurrent requests to the same WebService, and I was again limited to 2 requests.
When I tried to consume the same WebServices with another language (C#) the same happened, BUT, on the C# client there is a property that solves the problem:
System.Net.ServicePointManager.DefaultConnectionLimit
When I increased that property I could keep whatever number of concurrent requests I wanted. Is there a property similar to that one on Delphi?
I'm using the WSDL importer tool to consume the Web Services (Delphi XE2).