What Was I Thinking?

Follies & Foils of .NET Development
posts - 87 , comments - 254 , trackbacks - 0

April 2010 Entries

Solving “XmlSchemaException: The global element '<elementName>' has already been declared.”
I recently encountered this error when I attempted to consume a new hosted WCF service. The service used the Request/Response model and had been properly decorated. The response and request objects were marked as DataContracts and had a specified namespace. My WCF service interface was marked as a ServiceContract and shared the namespace attribute value. Everything should have been fine, right? [ServiceContract(Namespace = "http://schemas.myclient.co... public interface IProductActivationService ......

Posted On Wednesday, April 14, 2010 10:01 AM | Comments (6) | Filed Under [ Visual Studio WCF ]

Powered by: