I have a similar problem trying to use web services with awindows form application. I currently use a static web referencein my project. What I am trying to do is to programaticallychange the url based on a server name passed in, and whether ornot the PDA is in the active sync cradle.
IE. If the PDA is in the cradle, use localhost. If the PDA isn'tin the cradle, then allow connection over wi-fi to any validwebservice by changing the computer name in the urlprogramatically during runtime.
Is this the correct way to do this?
(PS. Can't seem to find the UrlBehaviorProperty in my projectproperties for my static web reference. What am I missing?).
--------------------------------
From: Nick
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>8n9sDHwTF0iS4VZHrnO+7g==</Id>