How to make SoapHttpClientProtocol create different TCP connection for web service invocation?

M

Morgan Cheng

I use VS auto generated code to invoke a internal network webservice.
The auto-generated code use class SoapHttpClientProtocol to do Soap-on-
http communication. It turns out that for single
SoapHttpClientProtocol instances, TCP connection is always maintained
for reuse. This is understandable. Now, I have one load balancer
between client and backend webservice cluster, so, single TCP
connection for single invocation is prefer-ed.

How to make it create TCP connection for one method invocation and
then close it?
Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top