cancel
Showing results for 
Search instead for 
Did you mean: 

How To Identify the JAR File Name

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

dharamveer_gaur2
Active Contributor
0 Kudos

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.

former_member200962
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

Its namespace.jar that is required for javax.xml.namespace.NamespaceContext .

Regards,

Alka.

Edited by: Alka Panday on Nov 12, 2008 10:38 AM

Answers (2)

Answers (2)

dharamveer_gaur2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

former_member200962
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

You need aii_map_api.jar file for the Stream Transformation classes.

Regards,

Alka.

Edited by: Alka Panday on Nov 12, 2008 10:03 AM