on 11-12-2008 4:02 AM
Hi,
In an already developed java code how can we identify which jar file has been used? Does it depends on what packages are included? In a java code which I have the following packages are included, so please tell me what will be the name of the corresponding file:
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.Map;
import javax.xml.namespace.NamespaceContext;
import javax.xml.xpath.*;
import org.xml.sax.InputSource;
import sun.misc.BASE64Encoder;
import sun.misc.CharacterEncoder;
Thanks,
Abhishek
Hi
You require aii_map_api.jar
Go to your XI server folders and use this path:
j2ee\cluster\server0\apps\sap.com\com.sap.xi.services
Inside com.sap.xi.services folder you'll find the jar file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alka/ Dharamveer,
Thanks a lot guys for your help.
One more doubt:
Is xml-api.jar the correct name for import javax.xml.namespace.NamespaceContext and
import javax.xml.xpath.* ?
@Dharamveer - I dont have acces to the folder where the server is installed...moreover the server is installed in someother part of the world.....in that case what will be the solution?
Thanks,
Abhishek.
Hi
you can download this from service marketplace, there are two ways:
1. Download SAPXITOOL13P_3-20000274.sca (about 40 MB)
Extract IntegrationServices.sda (with WinZip)
Here you find the aii_map_api.jar
2. Download SAPXIPCK13_0-20000423.sca (about 14 MB)
extract pck.sda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if u are using any IDE (like NWDS) there is plugin called "ClassLocator". This will look in the specified directory and let u locate the jar file required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your response.
The problem is that I want to compile this java code and for that I need to import the .jar file into my system (presently not having the .jar file). I am using NWDS but it is showing error for :
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
hence it would mean that I am not having the corresponding .jar file. Now the person who can provide me with a jar file requires the exact name of the corresponding jar file which I dont have, so please tell me the name or how can I get it looking at the java code?
Thanks,
Abhishek.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.