on 07-19-2017 5:43 AM
I am doing a POST operation with REST adapter. this post method takes body as form data with content type "application/x-www-form-urlencoded".
Basically I am writing my message into a dynamic config variable and replacing it in URL.
issue arises when I get "&" character in one of the fields from source. "&" is parameter delimiter so REST adapter consider any data after "&" as another parameter which fails in service call.
As per SAP help documentation "The pattern and the generated URL must be in URL-encoded form. No automatic conversion is applied." but when I encode the message I found out that PI is re-encoding the message. even though documentation explicitly says No automatic conversion is applied I can see in XPI-inspector http call logs that it is being re-encode.
is it a bug or is there a way to switch off encoding at adapter level.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.