on 2016 Aug 19 2:23 PM
Hi Expert,
When i am fetching data throw ODATA it's working fine.
When i am pushing data throw Gateway Client ( /IWFND/GW_CLIENT) . it's also working fine.
Below is screen Shot of /IWFND/GW_CLIENT tcode.
Below is CSRF Token.
Below is Status after data pushing.
But when i am pushing data throw .NET application it's showing error "CSRF token validation failed"
Below screen shot of .NET Error.
Below is C# (.NET) code for generating CSRF Token.
Method 1 .
Method 2.
above code is generating CSRF Token Successfully.
when pushing data throw .NET Application. it's throwing below error.
i am trying multiple scenario but it's not working properly. throwing error on " Client.SaveChanges() " or " Client.UpdateObject() "
Please help.
Thankx
Prakash
Request clarification before answering.
Hi Prakash,
You are having a prroblem because you are not sending the csrf token correctly when pushing the data through the .net application.
Please take a look at the following posts:
https://scn.sap.com/thread/3424154
Best Regards,
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.