This project is read-only.

delete - generated xsd not matching original - element names appended together

May 7, 2014 at 2:46 PM
Edited May 7, 2014 at 2:49 PM
I'm finding an issue, with an xsd that original contained elements such as
<xs:element name="DummyElement2" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DummyElement3" msprop:Generator_UserDSName="DummyElement4">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Application"
The resulting code calls this

   <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18408"), _
    System.SerializableAttribute(), _
    System.Diagnostics.DebuggerStepThroughAttribute(), _
    System.ComponentModel.DesignerCategoryAttribute("code"), _
    System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True, [Namespace]:="")> _
   Partial Public Class DummyElement2Application
When this is used in a wcf webservice, the xsd embedded in the resulting wsdl calling it


which does not match the original, I haven't managed to track down why the name is getting changed.

any ideas?

many thanks
May 7, 2014 at 2:47 PM
Edited May 7, 2014 at 2:48 PM