Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vidrenning opened this issue Feb 7, 2024 · 0 comments · Fixed by #1009
Closed

Comments

@vidrenning
Copy link
Contributor

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.

vidrenning added a commit to vidrenning/SoapCore that referenced this issue Feb 7, 2024
Added a test that verifies the correct behavior.

Fixes DigDes#1008
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 a pull request may close this issue.

1 participant