MSE Endpoint crashes for DataContract entity with "Id" field

Topics: Technical Questions, Usage Scenarios
Mar 12, 2010 at 8:28 PM

I imported my wcf BuyerService wsdl successfully to MSE, but when I try to attach it to an endpoint, I get a runtime error:

MseEndpointResolver: Cannot import wsdl:portType

Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.XmlSerializerMessageContractImporter

Error: Member ContactProfile.Id of type System.Int32 hides base class member StructuralObject.Id of type System.String. Use XmlElementAttribute or XmlAttributeAttribute to specify a new name.

XPath to Error Source: //wsdl:definitions[@targetNamespace='']/wsdl:portType[@name='svc_BuyerService'] for endpoint http://localhost:88/BuyerService


The Id member its refering to defined on the Complex Type "StructuralObject" as

   <xs:attribute ref="q1:Id" xmlns:q1="">
    <xs:attribute ref="q2:Ref" xmlns:q2="">

FYI...I have the same set of schemas loaded in BizTalk and the endpoints are working fine.