What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

My Links



Post Categories

Check These Out


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 (7) | Filed Under [ Visual Studio WCF ]

Powered by: