SAP Knowledge Base Article - Public

2641984 - "Authorization Role Missing for Service" Error During Replication

Symptom

When replicating data from ERP to C4C you receive the following Error Message on HCI: org.apache.cxf.binding.soap.SoapFault: Authorization role missing for service "ServiceInterface http://sap.com/xi/A1S/Global Service Interface XYZ <default> <default> Service Interface XYZ", operation "Operation http://sap.com/xi/A1S/Global ReplicateBusinessPartner"

Environment

SAP Hybris Cloud for Customer and SAP Hana Cloud Plataform

Cause

This is happening because you have been using SSL certificate (PKCS#12 key pair file) and the alias name of the certificate is not configured on the Private Key Alias of the HCI Integration Flow.

Resolution

To fix the issue, add sap_cloudintegrationcertificate (alias name of the certificate) on the Private Key Alias of the iFlow.
To do this, please carry out the following in HCI:

  1. Go to Design
  2. Select the current Package being used
  3. Choose Artifacts Tab
  4. Select the Integration Flow
  5. Click on Edit
  6. Highlight the Receiver Channel
  7. Go to Connection Tab
  8. Add the sap_cloudintegrationcertificate (alias name of the certificate) on the Privtae Key Alias Field
  9. Save and Deploy the Integration Flow.

Keywords

Authorization Role Missing for Service; org.apache.cxf.binding.soap.SoapFault; , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem

Product

SAP Cloud for Customer 1802 ; SAP Cloud for Customer 1805 ; SAP Cloud for Customer 1808