on 01-05-2010 3:32 PM
Hi experts,
I have done a fresh installation of NWDS on my machine and I am trying to open a java mapping on it. The mapping is downloaded from the XI Imported Archive. There are 2 entries for this IA - IA.Class and IA.Java. I have downloaded IA.Java as .jar file on my local machine. Then I created a project on NWDS and imported the jar file on NWDS. When I tried to open the jar file, it is giving me error. Do I need to do something else before I try to open the .jar file?
Hi Ethan,
If you want to see the Java mapping in NWDS use Export Archive option to export both the class and java files as a jar file.
Now create a new project and package in NWDS.If you check in the imported Archives the class and jar file may be using a package,then you have to create the same package name in the project created in NWDS.Now import the jar file into the project.In most of the cases the Java file will be using StreamTransformation interface and so you need to import aii_map_api.jar from PI server to view the java file.
Rgds,
Lekshmi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ethan,
You can get it from your landscape itself check this wiki page
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=XI&title=WheretogetthelibrariesforXI+development&decorator=printable
and this blog /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Regards
Suraj
Hi,
1.Create a project --> XYZ
2. Create the package as your IA.java package
3. Create the class with the same name..
4. Copy and paste your java code.
5. Import required jar for compiling.....
Regards,
Sunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.