I have one wcf service (service1) which contains the datacontracts, multiple services.my application is calling those services. Now i want to wrap the 3 service calls in to one services. Instead of hitting the mutliple service1 calls , i am writing the wrapper service for service1 which will hit the all service1. For this i have written wrap data contract (which will holds the service1 data contracts) .my application will consume these two services.I would like to reduce the data contracts duplication. Means if i generate the data contracts for service1 and service2 both services will create different contracts .
service 1 ----- proxy contains data contract 1 service2 proxy -- DATA CONTRACT CONTAINS contract1 OBJECTS with different namespace.