Skip to Content
0

sapui5 Error while parsing an XML stream

Jan 15 at 06:40 AM

131

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ankit Maskara
Jan 15 at 12:50 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded