Making one copy of complex type from 2 webservices.

webservice , csharp , type , proxy MacKinney, United States
  • 11 years ago

    Hi In C# (other .Net OOP languages as well), I have 2 webservices. Svc1 returns a complex datatype which becomes the parameter for svc2. Note that it is the same complex type.

    Now, I create the 2 proxy classes of these 2 webservices. Which means the same type gets generated twice.

    How can I make sure that in 2 proxies only one copy of that type is there? You may assume same or different namespaces of 2 webservices.

    Thanks AJ

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”