EDMX Error when creating a OData Service Instance

  • 16 February 2021
  • 0 replies
  • 45 views

Topic

When creating an OData Service Instance to an outside web service, the following error is seen. The row and character number may differ. 

 

"VALIDATIONEncountered the following errors when parsing the EDMX document: UnexpectedXmlElement : The element 'edmx:Edmx' was unexpected for the root element. The root element should be Edmx. : (1, 40)".

Instructions

Depending on the OData Service K2 is connecting to, there may be a need to pass a Default Request header with Logins or any number of things required by the OData Service. The error above is a generic error pointing to incorrect configuration. The following should be checked.

 

- Default Header does not have any syntax issues.

- The correct username and password are being passed. 

- What properties the OData Service is expecting and making sure they are in the Header. 

 

Related Links


0 replies

Be the first to reply!

Reply