Search code examples
wcfwcf-client

add more than one service reference for one application


I am unable to add more than one service reference to same class.

using testApp.ServiceReference1;
using testApp.ServiceReference2;

but ServiceReference2 cannot be used as namespace here

Is it possible or not??


Solution

  • Open the reference.cs file under the ServiceReference2 folder (Show All Files in visual studio). The namespace for the generated types will be in that file.