Monday, February 4, 2019

PATCH method in SAP PI REST ADAPTER

Until recent it was not possible to use PATCH method in REST Adapter. But with XI ADAPTER FRAMEWORK 7.50 SP009 new HTTP client library can be used in the guts of REST adapter - namely Apache HTTP Client library 4.2.5.

This library offers new features like NTMLv2 authentication, PATCH method, and others.

If you want to use these new features, you need to manually enable that Apache library. It can be done by adding new module parameter

Parameter: useSAPHttpLibrary
Value: apache

By default the value is sap.

Now you can overwrite the REST method by another parameter

Parameter: overrideHttpMethod
Value: PATCH
Adapter module parameters

Now it does not matter what did you set in the gui of adapter (I usually set method to manual GET) and the outgoing REST call will have PATCH method.


You can find original SAP info for that cause in notes 2483432 and 2498897 .

1 comment:

  1. Some other way to check the creditworthiness of your clients is to join a credit score circle in which you could percentage and get admission to significant creditor developments with fellow corporations. CreditQ is an MSME platform that provides a Credit Score for company, and you can check and report credit defaulters.

    ReplyDelete