on 2013 Oct 10 8:17 AM
Hi,
I have done one application with create operation(deep insert) in both mobile and desktop.
For desktop application I am using oData model and for mobile application I am using JSON Model. create operation is working fine in browser application but not in mobile.
when I am doing create operation in mobile I am getting the following error in console.
CX_SXML_PARSE_ERROR/001560AA0E081DEB8CA398CC1690D406Error while parsing an XML streamC47931E35B06F1249B1D20CF30C48576
when I am passing post request with some data as object and it's not triggering back end. But for my desktop application it's working fine.
I even tested the passing data in both applications and both are same.
Please help me to solve this issue.
Thanks&Regards
Sridevi.G
Request clarification before answering.
When you say you have tested the data in both applicatiosn and they are the same, are you checking the actual HTTP post data (via Chrome developer tools etc) as I would expect the format to be different i.e. one in oData and the other in JSON, as it might not be the actual data but the format of the overall post.
I would check that the information being sent is in the correct format for the backend etc to consume, or the backend is configured correctly.
Also, maybe a stupid question, but why are you using two different formats, if it's the same application, just for different device types, why wouldn't use the same data source for both?
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.