cancel
Showing results for 
Search instead for 
Did you mean: 

Send Data to SuccessFactors with iFlow

khaledkalo
Explorer
0 Kudos

I'm trying to send data to SuccessFactors using iFlow: iFlow consists of: Timer, Content Modifier, Requist replay using SuccessFactors Adapter with OData V2 protokol. End, Mail, Receiver.

Attachment 1: Example data in Content Modifier. Attachment 2: SuccessFactors Adapter

I get these errors: error details:

com.sap.gateway.core.ip.component.odata.exception.OsciException: HTTP Request failed with error : Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1], cause: java.lang.IllegalStateException: Unexpected character '{' (code 123) in prolog; expected '<'

at [row,col {unknown-source}]: [1,1]


This is a format error, xml and json. how to solve this?

2

Thanks

ChrisSolomon
Active Contributor
0 Kudos

Have you tried the SF partner portal?

Accepted Solutions (1)

Accepted Solutions (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi khaledkalo,

The error message is clear to me. You are sending a payload string that starts with character '{' - which probably means you are sending it in JSON format. Whereas the service API on the SF side is expecting the payload in XML format.

Check that you can actually use a JSON formated version of the SF API and change the endpoint accordingly. I am pretty sure that SF has various APIs that do work with the OData Protocol - which means they will accept the JSON formatted payload.

If the only option use a SOAP API, then you would have to convert the payload from JSON to xml - as all SOAP APIs will only work with that kind of payload.

Maybe the following blog could also help you with some missing steps on how to consume the OData API in a Cloud Integration Flow.

Hope this helps.

Best regards,
Ivan

Answers (0)