WCF Web Services — influencing which types are placed in which nested XSD's

carpinteyromvs

New Member
I have two code-first WCF web services that expose a few of the same common types. WCF has chosen to put these types in different XSD's in each web service.For example, in Web Service 1, my common types are in xsd3. In Web Service 2, they are in xsd4. Is this entirely chosen by WCF, or is there a way to influence what it puts where? I've looked through service attributes, operation and data contract attributes and haven't found anything that seems to do this.This causes problems on one of our Java-based web service clients, because the different XSD's cause the types to be duplicated.
 
Back
Top