on 09-17-2009 1:04 PM
Dear All,
I have installed Netweaver composition environment for Netweaver mobile applications for laptps and handhelds. Now i want to develop Mobile infrastructure application using the same which runs on MI 2.5 client. I could able to see MDK option in preferences. I have created a sample Mobile Infrastructure project. Then the generated class "SmartSyncDBAccess.java" is showing errors in the following import statements. I have checked in the plugins for the same package, where there is no such package.
Can you please tell me can we develop application for MI 2.5 using Netweaver composition environment. If yes do i need to do any settings for the same or download the extra plugins. Can you please help me in this and also let me know the place from where to download the MDK plugins.
Import Statements:
-
import com.sap.ip.me.api.persist.core.PersistenceException;
import com.sap.ip.me.api.persist.query.Condition;
import com.sap.ip.me.api.persist.query.Query;
import com.sap.ip.me.api.persist.query.RelationalOperatorType;
import com.sap.ip.me.api.persist.query.SortOrder;
import com.sap.ip.me.api.services.MeIterator;
import com.sap.ip.me.api.smartsync.BasisFieldType;
import com.sap.ip.me.api.smartsync.CharacterField;
import com.sap.ip.me.api.smartsync.DecimalField;
import com.sap.ip.me.api.smartsync.Field;
import com.sap.ip.me.api.smartsync.FieldDescriptor;
import com.sap.ip.me.api.smartsync.FieldDescriptorIterator;
import com.sap.ip.me.api.smartsync.NumericField;
import com.sap.ip.me.api.smartsync.Row;
import com.sap.ip.me.api.smartsync.RowCollection;
import com.sap.ip.me.api.smartsync.RowDescriptor;
import com.sap.ip.me.api.smartsync.RowDescriptorIterator;
import com.sap.ip.me.api.smartsync.SmartSyncException;
import com.sap.ip.me.api.smartsync.SmartSyncQueryFactory;
import com.sap.ip.me.api.smartsync.SmartSyncRuntime;
import com.sap.ip.me.api.smartsync.SmartSyncTransactionManager;
import com.sap.ip.me.api.smartsync.SyncBo;
import com.sap.ip.me.api.smartsync.SyncBoDataFacade;
import com.sap.ip.me.api.smartsync.SyncBoDescriptor;
import com.sap.ip.me.api.smartsync.SyncBoDescriptorFacade;
import com.sap.ip.me.api.smartsync.SyncBoDescriptorIterator;
Regards,
Kiran.
Hi,
Please add the jar files which are listed below to ur client appliction.
crimson.jar
jasper.jar
jaxp.jar
MEg.jar
pinstall.jar
servlet.jar
system
webserver.jar
xalan.jar
u will find the jar's inside ur mi client home directory (C:\Program Files\SAP Mobile Infrastructure\lib )
Regards..
Lakshman Balanagu..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lakshman,
This is really a good input. I have added the jars as mentioned by you. All the errors are gone, and applications build was sucessful.
But i am trying to export that as an MI archive, it is throwing an null pointer exception.
Following options are checked during the export:
1. Include the source code of the project
2. Add JSP as compiled classes
3. Delete genarated java files after after .war file has been genarated.
4. Run the mobile application
Then clicked on finish, and then it throws that error.
Can you please help me to resolve the issue, so that i can deploy the project and test using existing MI 2.5 client.
Regards,
Kiran.
Dear all,
Can anyone please give me the location from where i can download the jar files which i have mentioned in my previous thread. I am listing the same below.
1. com.sap.ip.me.api.persist.core
2. com.sap.ip.me.api.persist.query
3. com.sap.ip.me.api.services
4. com.sap.ip.me.api.smartsync
And also tell me do i require any other jar files. Can you please help me in setting up my NWDS where i can develop applications for mi 2.5.
Regards,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.