Symptom
You cannot send HTTP PATCH requests in the SAP Business One Integration Framework (B1iF). The following error may occur:
com.sap.b1i.xcellerator.XcelleratorException: XCE212 Error while performing HTTP call; HTTP status is 405, Method Not Allowed
This HTTP call issue may affect the following application connectors:
1. Microsoft Dynamics 365 Sales
2. Salesforce
3. Expensify
Reproducing the issue
Prerequisites
You are using SAP Business One version 10.0 FP2508.
Scenario
Issue with PATCH and PATCH2 methods execution in the SAP Business One Integration Framework.
Expected Result
The Integration Framework successfully sends and processes HTTP PATCH requests to external applications.
Actual Result
PATCH or PATCH2 HTTP method issue in SAP Business One Integration Framework.
Solution
1. Open the B1iP Control Center and navigate to the Configuration section.
2. In the left-hand menu, select Global Adapter Configuration.
3. Click Edit Global Adapter Configuration for the HTTA Adapter.
4. Locate the property useNewHttpClient and set its value to true.
5. Click the Save button to save the configuration.
Product
Product or Product Version
B1 INTERCOMPANY INTEGRATION
SAP B1 10.0 FOR SAP HANA
SAP BUSINESS ONE 10.0
This document refers to :
WDF 2550001 - Overview Note for Intercompany integration solution Version 55 for SAP Business One