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 / March 2006

Tip: Looking for answers? Try searching our database.

referencing web service on the same web project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
z f - 26 Mar 2006 16:54 GMT
I have an asp.net web project that includes a web service.
i need to reference this web service from the same project.
the idea is that the project can be located on different servers and needs
to call a web service on other servers to get remote data.
but after making the web reference the compiler creates a namespace with the
name of the webservice and gives error.
error BC30175: namespace 'ProjWS' and class 'ProjWS', declared in
'D:\Projects\svc\ProjWS.asmx.vb', conflict in namespace 'Proj'.

can this be achived using any change in the settings?

thanks.
Javier G. Lozano - 27 Mar 2006 00:48 GMT
When you add web reference, you can change the name of the namespace by
setting a different name in the "Web reference name" of the wizard.
z f - 27 Mar 2006 11:39 GMT
worked it out by changing the namespace of the webservice implementation,
and the automatically code generated stayed with the web service name.

thanks.

> When you add web reference, you can change the name of the namespace by
> setting a different name in the "Web reference name" of the wizard.

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.