We have configured an ODATA service in
We have installed NWGW plugin in macos .
When we are trying to browse the services
we are able to see only SDATA services in NWGW plugin of macos.
So we have changed the service from ODATA
to SDATA in gateway system. We are able to access the services.
When we are using POST to update the data
we are getting CSRF as null value.
I am using the following method
CSRFData *csrf = [connectivityHelpergetCSRFDataForServiceURL:
Please provide us the pointers to resolve the issue
I would suggest to check the How to guide for XCODE which is available here. http://scn.sap.com/docs/DOC-26015. Please check page 28, you will get information for how to retrieve X-CSRF token in xcode.
I hope this helps.
Thank you for the reply.
As per your suggestion we have followed the document you have suggested.
But we did not get any information for retrieving X-CSRF token in Xcode.
But we followed the procedure mentioned there ,the following is the process.
When we are trying to get the response in xcode by using the following code,
SDMConnectivityHelper *supConn =[[SDMConnectivityHelper alloc] init];
LiteSUPUserManager *supUserManager = [supConn activateSUPModeWithHost:@"xxxx" andSUPPort:xxxx andSUPFarmId:@"0" andAppId:@"xxxx"];
0262Service *service = [[0262Service alloc] init];
NSMutableArray *personalDataArray = [service
I am getting the following error
Returned Query URL: /02PD
ERROR :: SUPJsonException:expected string,
found 140/Location:-[SUPRequeststartSynchronous] + 1159
ERROR :: 400:Bad
request/Location:-[SUPRequeststartSynchronous] + 1184
Exception during parsing response data. Error:
The document is not a valid data document
xml:lang="en">Malformed URL recieved :no protocol:
When I am trying to print the end point. I am
getting null value.
Can you please help me in resolving this.
You are referring to the same problem mentioned here: http://scn.sap.com/message/13227373#13227373