EDMX Error when creating a OData Service Instance


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)".


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

Labels: (3)
Version history
Revision #:
2 of 2
Last update:
‎05-13-2021 08:27 AM
Updated by: