cancel
Showing results for 
Search instead for 
Did you mean: 

Help required for Integration of SAP PI with Hybris Marketing System

Former Member
0 Kudos

Hi All,

We are trying to integrate a C4C system with a Hybris Marketing system using SAP PI as a middleware.  When PI is sending a request message received from C4C to Hybris system, I am getting an error as

"Message could not be forwarded to the JCA adapter. Reason: Permanent error: Adapter call failed. Reason: The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request. Stop Retry for this message."

Has someone faced such issues. If so, what is the solution?

PI version : 7.31 SP 16

I have used a ODATA adapter with the below configurations

Processing: Operation: Create

                    Resource Path: ImportHeaders

                    Payload Format: Atom

Advanced Tab.

Additional settings: Content-type :application/xml;charset=UTF-8

                                   Accept: application/xml

Appreciate  your inputs

Regards,

Deepika

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

Instead of OData Adapter, I am using a REST adapter. but now I am getting an error in PI as

Server returned code: 307

  1. 23.08.2016 08:35:37.915
  2. message.Error

MP: exception caught with cause com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP POST call to http://<hypris host>:<port>/sap/opu/odata/sap/CUAN_BUSINESS_PARTNER_IMP_SRV/ImportHeaders not successful. Temporary Redirect

  1. 23.08.2016 08:35:37.917
  2. message.Error

Exception caught by adapter framework: HTTP POST call to http://<hypris host>:<port>/sap/opu/odata/sap/CUAN_BUSINESS_PARTNER_IMP_SRV/ImportHeaders not successful. Temporary Redirect

Has anyone faced a similar issue?

I have used POST method

Regards,

Deepika

anupam_ghosh2
Active Contributor
0 Kudos

Hi Deepika,

                   Does Hybris system support REST webservice? In case it does please first test with SOAP UI tool. The request format you can obtain from API documentation of hybris.

Regards

Anupam