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.