SAP Knowledge Base Article - Preview

3527679 - The method with annotation @ResponseBody responds as XML instead of JSON after upgrading to version 2211.28 or above in SAP Commerce Cloud

Symptom

In SAP Commerce cloud 2211.27 or lower version the method with annotation @ResponseBody in spring mvc controller class responds JSON object.

But after upgrading to SAP Commerce cloud 2211.28 or above it responds XML object instead of JSON object.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • Product version: SAP Commerce Cloud 2211.28 and above

Product

SAP Commerce Cloud 2211

Keywords

json,xml,jackson,upgrade , KBA , CEC-SCC-PLA-PL , Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.