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 / February 2005

Tip: Looking for answers? Try searching our database.

Newb question about connection to multiple web services.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick - 12 Feb 2005 15:39 GMT
Hi, I'm working on a windows forms application that is running on the Pocket
PC. I want to connect to various remote servers via wireless. Since I'm
adding the web reference to the windows forms application, the reference
defaults to http://localhost...etc. Is there a way to have the windows forms
application programatically connect to various remote webservices dynamically
at runtime? Would I need to change the wsdl file during installation of the
webservice on the server to be the local computer name? I'm using C# on both
the server and ppc. A sample would be appreciated. Thanks in advance.

Nick
Keenan Newton - 13 Feb 2005 21:06 GMT
Yup, If you notice Visual Studio should eb creating a web proxy class.
This class should have a property called URL, just change that to which
ever URL you like.  In my case I create an inherited calss that
inherits from the Visual Studio web service proxy class, and in my
implementations constructor I change the URL propery there.  I hope
this helps

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.