Making one copy of complex type from 2 webservices.
-
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
Follow your goals, Means will follow you ---Gandhi---
-
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
Follow your goals, Means will follow you ---Gandhi---
-
mittalpa wrote:
You may assume same or different namespaces of 2 webservices.
Sounds like a homework question to me. Try google.
Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP