SAP Knowledge Base Article - Preview

3355849 - How to avoid URL encoding of query strings in Rest adapter

Symptom

The REST URL contains some dynamic part in query string. XPath Expression is used to retrieve the value from an XML payload. There are some specific characters in XML payload. You observe that the dynamically constructed parts of the query string are encoded. However you would like to avoid URL encoding of query string and just keep the original specific characters in REST URL.

For example: URL Patten: https://<host>:<por>/<path>?code={code}

Value Source: XPath Expression
Pattern Element Name: code
XPath Expression://code

In payload: "code": "RTFENk="
In message log character '=' is encoded to '%3D', shown as Calling server: https://<host>:<por>/<path>?code=RTFENk%3D


Read more...

Environment

  • SAP NetWeaver
  • SAP Process Integration
  • SAP Process Orchestration

Product

SAP NetWeaver all versions

Keywords

Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, AEX, PO 7.5, REST sender, REST receiver, REST URL, REST adapter, encoding, character, UTF-8 , KBA , BC-XI-CON-RST , Rest Adapter , How To

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.