Make svcutil.exe generate Properties with no Order attribute

Posted by Luis Filipe on Stack Overflow See other posts from Stack Overflow or by Luis Filipe
Published on 2014-05-28T10:59:16Z Indexed on 2014/05/28 15:27 UTC
Read the original article Hit count: 861

Filed under:
|

I use svcutil.exe to generate proxy classes from a hosted WebService created by WebSphere that uses Java under the hood.

I am using the XmlSerializer instead of DataContractSerializer and targeting Framework v3.5 with VS2010

The proxy classes are generated with the following attribute for each property

[System.Xml.Serialization.XmlArrayAttribute(Order=20)]

How can i tell the utility to suppress generating the Order parameter?

© Stack Overflow or respective owner

Related posts about c#

Related posts about svcutil.exe