Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

smart (windows forms) client control of local port used

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon Dowdeswell - 13 May 2005 07:40 GMT
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) ?

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.
Chad Z. Hower aka Kudzu - 13 May 2005 13:47 GMT
"=?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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.