AIF: ‘EndElement’ is an invalid XmlNodeType
Views (3986)
Hi all.
I got this error when developing a C# .NET application that consumed a AIF web service, and couldn’t find a solution online so let me share mine :-).
The problem was that I initialised my queryCriteria wrong:
I forgot the specify the datasourcename and operation:
CriteriaElement ace = new CriteriaElement();
ace.FieldName = "AccountNum";
ace.Value1 = "000001";
ace.DataSourceName = "VendTable";
ace.Operator = Operator.Equal;
ace.FieldName = "AccountNum";
ace.Value1 = "000001";
ace.DataSourceName = "VendTable";
ace.Operator = Operator.Equal;

Like
Report
*This post is locked for comments