I am running into an issue that involves sharing an XSD2Code generated class. I am working with one huge xml schema that I generated into a class in a common class library. The problem I am facing is multiple applications will be referencing this common class but I want to be able to pass the schema from one web service call to another. When I create a service reference, VS adds the service reference name to the namespace so the common type is no longer really common. What options besides creating 1 large mapper class do I have to basically pass the exact same object from web service to another service.

Thanks in advance for an point in the right direction.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.