cancel
Showing results for 
Search instead for 
Did you mean: 

iflow content modifer Issue

Jorge99
Explorer
0 Kudos
290

Hi team

I am working with  an Iflow,  this Iflow  is a copy of the Iflow: Replicate Generic Data from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA Using the OData API

This is Namespace Mapping

Jorge99_0-1723675302262.png

Content modifier

Jorge99_1-1723675302265.png

This is the configuration in Content Modifier

Jorge99_2-1723675302270.png

 

The value in Source value to ECCOMPANY is /ns0:getGenericDataReplicationQuery/ProcessingParameter[Name='ECCompany']/Value

I am running a simulation

Jorge99_3-1723675302273.png

Simulation is sending this error message

Invalid xpath: /ns0:getGenericDataReplicationQuery/ProcessingParameter[Name='ECCompany']/Value. Reason: javax.xml.xpath.XPathExpressionException: Failure converting a node of class javax.xml.transform.sax.SAXSource: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

Jorge99_4-1723675302277.png

Do you know how to solve it?

Thanks a lot

 

Ryan-Crosby
Active Contributor
0 Kudos
What is your input payload?

Accepted Solutions (0)

Answers (1)

Answers (1)

Nikhil_Gursal
Participant
0 Kudos

Hi @Jorge99  ,

This error is specific to XPath for field ECCOMPANY . Make sure you are passing correct input payload in simulation mode and this has ECCOMPANY field as per value/path provided in content modifier. 

Regards,

Nikhil

Jorge99
Explorer
0 Kudos

Hi

Thanks for your help

My payload file was wrong. There is no more error, I continue testing

Regards