web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

AIF: ‘EndElement’ is an invalid XmlNodeType

Klaas Deforche Profile Picture Klaas Deforche 2,433

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:

CriteriaElement ace = new CriteriaElement();
ace.FieldName = "AccountNum";
ace.Value1 = "000001";

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;

Comments

*This post is locked for comments