Application Development 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: 

sapui5 Error while parsing an XML stream

former_member548272
Participant
0 Kudos
6,046

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.

  • SAP Managed Tags:
1 REPLY 1

Ankit_Maskara
Employee
Employee
0 Kudos
737

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.

  • SAP Managed Tags: