cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle x-www-form-urlencoded Content-Type header in SAP PI

resham_naaz
Explorer
0 Kudos
132

Hi experts

I have a proxy to REST integration where I have the following header :

Content-Type: application/x-www-formurlencoded

This Integration is to be used to generate an access toke. The Request Body has the client-id and the client-secret. I am using the following blog for this without the dynamic URL part because I am working with a static URL.

https://community.sap.com/t5/technology-blogs-by-members/handling-x-www-form-urlencoded-format-using... 

However I am unable to add the java mapping in the ESR because the jar file attached to the blog is not available anymore. This is also the first time I am working with java mapping and I am honestly quite lost. Most tutorials I have come across seem to be using Netweaver Developer Studio which I am unable to download because I do not have a S-user id. I am also not familiar with importing jar files and most sites I have found do not have anything pointing to those available for SAP PI 7.50 which I am using.

So, I was wondering if it is possible to handle this with a UDF? Also if it is, Do I need to create new data types or message types for this? Also, please guide me on how to write the UDF. I am very new to this so I would really appreciate it if someone could provide me a detailed answer or a link to a blog that provides a detailed answer. I have also gone through this blog without success.

Thank you

 

Accepted Solutions (0)

Answers (0)