I have created a very simple Web Service using WCF/.NET framework 4.0 (C#). I have generated a WSDL file using the svcutil.exe utility. When I import the WSDL file using Eclipse (Java EE), I get the following errors:
XSD: Attribute reference 'http://schemas.microsoft.com/2003/10/Serialization/#Id' is unresolved XSD: Attribute reference 'http://schemas.microsoft.com/2003/10/Serialization/#Ref' is unresolved
I am using the DataContractSerializer with reference preservation turned on using:
[DataContract(IsReference = true)]
When I turn this option off, the error above, disappears. I have also flatten my WSDL file as suggested in another thread here on SO.