cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.scenarios.cod2crm.businesspartner.replicate gives content type error

Former Member
0 Kudos

Hello Experts,

We have configured the message flow from C4C to SAP CRM via HCI to replicate Business partners(accounts). We are using basic authentication for the flow.

The messages from C4C fails in HCI with the error below.

"Inbound processing in endpoint at https://iflmapgbtxxxhxxxxavhaio-hxxxx.intaas.us1.hana.ondemand.com/cxf/COD/CRM/BusinessPartnerReplic... failed with message "Sequential processing failed for number 0. Exchange[Message: [Body is not logged]]. Caused by: [org.apache.cxf.interceptor.Fault - Response was of unexpected text/html ContentType.  Incoming portion of HTML stream: (none)]", caused by "Fault:Response was of unexpected text/html ContentType.  Incoming portion of HTML stream: (none)"

Have any of you encountered this issue before?

We have already verified the following

  • The Idoc service /sap/bc/srt/idoc is active in SICF.
  • The Idoc Content type setting on HCI iflow is Application/x-sap.idoc
  • The ports used for the outbound messages in SAP CRM are also using Application/x-sap.idoc (not sure if has any relevance for the error in inbound flow)
  • The communication user CODINTEG is setup correctly with necessary auth

One difference we notice in the setup is that :

The message is being posted from HCI to the endpoint https://crd.<domain>.com:8443/sap/bc/srt/idoc?sap-client=500. Firewall and network have been setip to allow traffic only addressed to this externally visible domain.This will then be forwarded to the SAP CRM server.

However in the SAP CRM system there is no FQDN setup - when we test the SICF service it uses the server hostname https://<Server Hostname>.na.int.grp:8443/sap/bc/srt/idoc?sap-client=500.

Could this be the issue? We do not want to setup an FQDN if it is not necessary as there will be impacts to existing interfaces. The error message does not indicate anything to suggest that this could be the reason.

Any inputs would be a great help.

Regards,

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

former_member206604
Active Contributor
0 Kudos

Hi Sandeep,

Did you check the ICM trace in your on-premise CRM system to see if the call reached CRM in first place? If it did not reach CRM system then it get stuck somewhere in the middle like reverse proxy or firewall which is sending back a HTML content type as the response.

Also did you refer to the Connectivity FAQ http://scn.sap.com/community/cloud-for-customer/blog/2014/10/29/connectivity-faq--integrating-cloud-...

as it stated that if you are using anything other than port 443 then create a ticket to check on what ports can be used as it may vary from region.

Thanks,

Prakash

former_member206604
Active Contributor
0 Kudos

Hi Sandeep,

Check is you have executed SRTIDOC transaction on your on-premise CRM system.

Thanks,

Prakash


former_member192561
Participant
0 Kudos

Hi Sandeep,

We have a similar issue now. Could you please share us what was the cause of the issue??

Thank in Advance,

Amber

Answers (0)