cancel
Showing results for 
Search instead for 
Did you mean: 

CPI Post Method with Odata V2 Adapter

Akash
Participant
0 Kudos

Hello,

I have an iFlow with the odata v2 adapter, and the method is POST, but the issue is that when I call the url, it shows an error, but whenever I call the odata url via Postman or Gateway, it is successfully posted.

Akash_0-1711892430137.png

 

 

View Entire Topic
Dwipayan96
Explorer
0 Kudos

Hello Akash,

As you are using the OData V2 adapter, just wanted to check whether you have used Preview to set up the required query. It would be beneficial if you could share what XML data you are trying to send using the OData Adapter and provide the screenshot of the Processing Tab of the OData Adapter.

Regards,

Dwipayan

Akash
Participant
0 Kudos
<ET_EMPSet xml:base="http://Win12SAPHANA.dccil.com:8001/sap/opu/odata/sap/ZEMP_DATA_UPLD_SRV/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"> <category term="ZEMP_DATA_UPLD_SRV.ET_EMP" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/> <content type="application/xml"> <m:properties> <EmpId>${header.EmpId}</EmpId> <EmpName>${header.EmpName}</EmpName> <EmpSal>${header.EmpSal}</EmpSal> </m:properties> </content> </ET_EMPSet>