Skip to Content
0

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

Nov 11, 2016 at 03:01 PM

198

avatar image

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

10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Degraf
Nov 14, 2016 at 08:42 PM
0

Hi Stefan,

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

Best regards
Daniel

Share
10 |10000 characters needed characters left characters exceeded