DigDes/SoapCore

XmlSerializer WSDL: Generated type ArrayOf<Type> should always use uppercase first letter

vidrenning opened this issue · 0 comments

Let's say we have a type such as

public class ArrayType
{
    public List<innerType> InnerTypeList { get; set; } = [];
}

public class innerType
{
    public string Name { get; set; } = "";
}

As you can see the name of the class innerClass starts with a lowercase "i".

For this class, SoapCore will generate a type with the name ArrayOfinnerClass. However the WSDL that is generated by a ASMX web service in .NET Framework is different. It will generate a type with the name ArrayOfInnerClass. As you can see, it makes the first letter uppercase.