Hi team,
We have created a sample odata implementation project in eclipse with the help of this documentation.In Eclipse -> Preferences ->SAP mobile Platform tools->Server: the server connection is set to "https:xxx.xxx.x.x:8083". When we deploy the project, a service is created in the gateway management cockpit with URL "https:xxx.xxx.x.x:8083/gateway/odata/SAP/SAMPLE;v=1:".
We have created a Database DESTINATION with destination URL "<db url>" and database driver "com.microsoft.sqlserver.jdbc.SQLServerDriver".On testing the destination connection, it returns success. The destination is then assigned to the service.
We are facing the following issues while implementation :
1. When we open the service document link, it is opened with the entityset that we have created in the odata implementation.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xml:base="https://xxx.xxx.x.x:8083/gateway/odata/SAP/IG_JDBC_SQLSERVER;v=1/">
<workspace>
<atom:title>Default</atom:title>
<collection href="Addressbook">
<atom:title>Addressbook</atom:title>
</collection>
</workspace>
</service>
But when we append the entityset name as the last path component in the service url, we get an error message "Could not perform the operation, contact your system administrator."
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code/>
<message xml:lang="en-US">
Error Message : Could not perform the operation, contact your System Administrator. Check the log file for details : Transaction ID :0a2ae612-9065-483e-b053-d03deb637acf
</message>
</error>
2. We have created a native sample odata application for Android and iOS platforms. Login through MAFLogOn was unsuccessful using the following credentials:
Server Address : xxx.xxx.x.x
Port : 8083
Username : smpAdmin
Password : <password>
But we were able to successfully login using the following credentials:
Server Address : xxx.xxx.x.x
Port : 8080
Username : smpAdmin
Password : <password>
But the odata store initialization is failed. We are getting an unknown network error.
04-13 16:19:33.068 23004-23004/com.cabot.SMPDemo W/System.err﹕ com.sap.smp.client.odata.exception.ODataNetworkException: Unknown network error occured
04-13 16:19:33.069 23004-23004/com.cabot.SMPDemo W/System.err﹕ at com.sap.smp.client.odata.online.OpenExecution.run(OpenExecution.java:111)
04-13 16:19:33.069 23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
04-13 16:19:33.069 23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
04-13 16:19:33.069 23004-23004/com.cabot.SMPDemo W/System.err﹕ at java.lang.Thread.run(Thread.java:818)
Following are the details and configurations of the server:
O/S : Windows 7
Database Server : MSSQL-Server
Database Driver : sqljdbc4
Please advise us to resolve these issues.