Hi,
I am trying to include two proxy classes (from two different web services
say Namespace.Service1 and Namespace.Service2) in a project (C# Class lib).
These webservice internally use (as input or return) custom classes' objects
e.g. userinfo, customerinfo etc. When i generate the proxy classes for these
services using wsdl, the definition for custom classes' is also generated in
the proxy classes.
Now, when i include these proxy classes in the project (class lib), and try
building the same, it throws the error:
The namespace '<global namespace>' already contains a definition for
'userinfo'.
Is there a way to resolve this? (So that definitions for custom classes are
not included in both the proxy classes but in only one)
Please suggest