Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

xsodata -> Format application/xml not supported, from SAP HANA XSA Group 1: Basic Development

0 Kudos

Hi Experts,

it me again :-(. I got a new problem. I followed the tutorial from the header. But If I call my first xsodata Service (using xsodata/purchaseOrder.xsodata) I got this:

{"error":{"code":406,"message":{"lang":"en-US","value":"Format application/xml not supported."}}}

I thought, that I copied all in the right way. I checked it twice but I cant find the problem. Also im got able to get a more detailed problem description. Can anyone rescue my weekend :-).

Kind regards Stefan

1 ACCEPTED SOLUTION

Hi Stefan,

try to get the result in JSON format: xsodata/purchaseOrder.xsodata?$format=json

Best regards
Daniel

2 REPLIES 2

0 Kudos

Hi, after some tests, no success. But if I add the /$metadata, the meta data will be displayed. Could anyone give me a hint, I can't find a solution.

Thank you

Stefan

Hi Stefan,

try to get the result in JSON format: xsodata/purchaseOrder.xsodata?$format=json

Best regards
Daniel