"=?Utf-8?B?U2ltb24gRG93ZGVzd2VsbA==?=" <Simon
Dowdeswell@discussions.microsoft.com> wrote in news:E6E79A3D-9CE5-4D95-A985-
F3BFEB5E2292@microsoft.com:
> How can the outgoing port of the client be configured, for example, to be
> within a range when communicating with a webservice (NOTE: not the server
> port in the url) ?
Why not the server port in the URL? Thats how you specify the port.
> I have a webservice client derived from SoapHttpClientProtocol, but cannot
> find any way of setting a port at runtime by code or by client config file.
I posted an example just yesterday how to change the URL for a client, and
thus the port as well.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Blog: http://blogs.atozed.com/kudzu