I have a class which is exposed by web services as part of different namespace. Now I want to serialize it and deserialize object of class 'C1' under namespace A1 to class 'C1' under namespace A2. How can it be done? Thanks
(btw, can you clarify whether you mean C# namespaces, typical from consuming the same original type from different web-services; or wsdl namespace, i.e. two different originating types that happen to look similar-ish?) It is a pain... one option is the /sharetypes toggle on wsdl.exe, but then you need to reference all your web-services from the one command. This is where data-contracts make a better solution; they are much more wire compatible... Marc