wcf - How can I use one source file in multiple web services projects? -


I need to create two web services, they do the same thing, but one of the "test" web services The references are references to the second "live" services.

I want to create and maintain a set of source (.asmx) files by using c # in Visual Studio 2010.

They have been able to create a solution in two web service projects. I am also able to use the same set of links (source link) in each project.

However, when I call the asmx file, the web service, the file is not found and I can not understand a way to isolate the service I am calling; ASMX files are only present in the common folder area, not really in each project.

If test and live service uses the same WSDL, then you do not need separate web references Use a reference, then set the Url property to point to the correct service of the proxy class.

Comments