cancel
Showing results for 
Search instead for 
Did you mean: 

HANA XS advanced OData unsupported content type

Former Member
0 Kudos

Hi all,

i have created an OData in HANA XS advanced in nodejs module. The build and deploy runs without errors. I can do a GET request to the OData service but only with json format. If i try to use ATOM/XML i get an error message unsupportet content type.

Does anybody knows a solution?

Thanks and regards
Jürgen

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hi Jürgen,

there is the restriction for XS Advanced that the Node.js module supports only JSON as payload format for OData. Check the "Restriction" paragraph on page Defining OData Services for XS Advanced Applications.

Regards,

Florian

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for you answers.

Regards

Jürgen

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This is conscious decision on SAP's part to no longer support the ATOM/XML format for XSODATA. This is a current restriction and we have no plans of removing this restriction or ever offering ATOM/XML support for XSODATA in XS Advanced.