SAP Knowledge Base Article - Preview

3193948 - PI Rest Adapter error HIERARCHY_REQUEST_ERR

Symptom

You use the REST Adapter as Receiver and you're converting XML to JSON.
You can see that the JSON format is not what you are expecting, as described on:
Link Remove Header node in Receiver REST adapter

However after applying the solution provided on the SAP link, you are getting the following error:
MP: exception caught with cause org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
You have found the SAP Note 2305614 - HIERARCHY_REQUEST_ERR error in Receiver REST Adapter to avoid this error, however you still having same error after applying the solution provided on the mentioned note. 


Read more...

Environment

  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5



Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5

Keywords

REST adapter, Adapter Metadata, ESR, JSON, XML, XML element, Node, Insert, Insert node, Strip Operation from Message, Remove Outermost XML Element, Syntax, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX , KBA , BC-XI-CON-RST , Rest Adapter , 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.