Skip to Content

HANA XS advanced OData unsupported content type

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 19, 2016 at 05:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2016 at 06:58 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2016 at 10:20 AM

    Thanks for you answers.

    Regards

    Jürgen

    Add comment
    10|10000 characters needed characters exceeded