It is worth noting that the XML serialization of objects does not correspond to the OO constructs that you have in the code, i.e. XML has no concept of inheritance. If your class library is complicated in this regard, I would advise doing this.
Can you create an independent service that just uses your class library under it? By this I mean creating a new service and service interface, rather than turning a class library into a service interface.
source share