Skip to Content

sapui5 Error while parsing an XML stream

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 15 at 12:50 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded