<xsd:complextype name="QuickActionLayoutColumn"> <xsd:sequence>
<xsd:element name="quickActionLayoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionLayoutItem"/>
</xsd:sequence>
</xsd:complexType>
It's a known bug that won't be fixed - Microsoft Connect: XmlSerializer Code Generation component cannot handle nested unbounded elements when there is only one element
The workaround was to inject a dummy attribute into the WSDL to bypass the bug.
<xsd:complexType name="QuickActionLayoutColumn">
<xsd:sequence>
<xsd:element name="quickActionLayoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionLayoutItem"/>
</xsd:sequence>
<xsd:attribute name="tmp" type="xsd:string" />
</xsd:complexType>
0 comments :
Post a Comment