Skip to content

Conversation

@maxineal
Copy link
Contributor

@maxineal maxineal commented Dec 15, 2025

XmlSerializer adds empty complex type for System.Object.
It seems like this:

<xsd:complexType name="SoapEntityField">
  <xsd:sequence>
    <xsd:element minOccurs="0" maxOccurs="1" name="FieldValue" type="tns:Object"/>
  </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Object"/>

This patch avoid creation empty complex type.
I not work with classic WCF, but i think classic WCF not adds complex type for System.Object, maybe this patch can add backcompability.

@andersjonsson andersjonsson merged commit 04b30d4 into DigDes:develop Dec 16, 2025
3 checks passed
@andersjonsson
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants