Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sapui5 Error while parsing an XML stream

Former Member
0 Kudos
7,895

Hi experts,

I am doing a POST via segw transaction and getting Error while parsing an XML stream (CX_SXML_PARSE_ERROR/001560AA0E081DEB8CA398CC1690D406).

I got the payload after doing a GET (using navigation) and yes I implemented the DEEP insert method.

I used the payload for my request and try to post it and got the error.

Any help please ?

And yes, I read the other posts about the same prbleme and nothing helped me yet.

Thanks for the help.

Regards.

1 REPLY 1
Read only

Ankit_Maskara
Product and Topic Expert
Product and Topic Expert
0 Kudos
2,586

This error comes when the data passed to payload is incorrect, be it either the filed names or the field value being incongruent with Edm types. Another thing you should check is the name of the navigation property and the name used for nested table should be same. The GW framework code uses an ID based XML transformation to map the payload values to the corresponding backend structures.

You should also paste the payload and their metadata call result in case issue still persists.