SAP Knowledge Base Article - Preview

3559132 - Unmarshalling Error Due to DOCTYPE Field inclued in the input CXML

Symptom

  • In SAP Commerce Cloud, an unmarshalling error occurs when implementing a version of punchout.
  • The error is triggered when a DOCTYPE field is included in the input XML.
  • The error message states: "Could not unmarshal to [class org...]: null; nested exception is javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 10; DOCTYPE is not allowed if the function ‘http://apache.org/xml/features/disallow-doctype-decl’ is set to true."


Read more...

Environment

  • SAP Commerce Cloud
  • Storefront
  • Accelerators
  • Commerce Cloud B2B Accelerator

Product

SAP Commerce Cloud all versions

Keywords

SAP Commerce Cloud, punchout, unmarshalling error, DOCTYPE field, Servlet Filter, HTTP request, XML input , KBA , CEC-SCC-COM-BBA-ACC , Accelerator , 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.