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

Tip: Looking for answers? Try searching our database.

Adding Web References in Windows Apps

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chandra - 07 Dec 2005 17:41 GMT
Adding Web References to asmx files in Windows seems to require a new name
for every reference added.

For Web Apps this doesnt seem to be a problem. The Add Web Reference dialog
accepts the same name for multiple asmxs' added.

BUt for windows apps it creates folders/namespaces like localhost1,
localhost2 etc.

The problem is described here in more detail.
http://www.codeproject.com/aspnet/webrefrename.asp

Is there a solution for this in VS.Net 2005 using UDDI or DISCO or any other
mechanism. We want to add a bunch of services that are in a project as web
references in the same name space.

Thanks
GCR - 08 Dec 2005 12:31 GMT
The problem is that, when you add a web reference, the name you give to that
web reference is actually the namespace for the proxy class and for the used
types. Since you have "a bunch of services" as you mentioned, you might get
into the situation of having a type name used more than once under the same
namespace for different classes. That is why I would advise either to leave
VS handle this by default, or take very good car of what you do when you
change the namespaces for your web references!

> Adding Web References to asmx files in Windows seems to require a new name
> for every reference added.
[quoted text clipped - 13 lines]
>
> Thanks

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



©2009 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.