SAP Knowledge Base Article - Preview

3005297 - Behavior of URL generated dynamically in REST Adapter changed after Support Package update

Symptom

You have a REST Receiver channel which generates the endpoint URL dynamically. This was working as expected in previous version of the system.

However, after you updated the system to Release 7.50 Support Package 14 or higher (and the latest patch level of SAP_XIAF), the behavior of the URL generated dynamically changed, and now it is encoding all characters in it, resulting in the call to be not accepted by the receiver system.

For example, you have defined the URL endpoint as: https://sap.com/test=01/query?{query}

The value of {query} is composed by several fields concatenated, like: $example=Test&$filter=Test eq '200' and Example eq 'example'$format=json

The generated URL should look like this (as previous to the update): https://sap.com/test=01/query?%24example=Test&%24filter=Test+eq+%27200%27+and+Example+eq+%27example%27%24format=json

However when checking the endpoint called after the update, it is https://sap.com/test=01/query?%24example%3Test&%24filter%3Test+eq+%27200%27+and+Example+eq+%27example%27%24format%3json

All values above are fully fictional and does not represent any real data


Read more...

Environment

  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.5

Keywords

Encode, URL, EncodeURL, EncodeURLPath, Rest, Adapter, Receiver, 400, 500, Failed, Generated, Dynamically, Process Integration, Process Orchestration, 7.5, PI 7.5, PO 7.5, XI, AEX, SP, Support Package , 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.