on 06-30-2007 10:20 AM
Hi,
I have written a java mapping which is as follows:
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
public class JavaMappingDOM implements StreamTransformation {
public void setParameter(Map arg0) {
}.........
..............................
For this is need to import the com.sap.aii.mapping.api.*; package for it to compile with normal j2sdk from command prompt.
Can anyone provide me help where i can get it.And once it get it where should i place it in order to compile my java code to be imported into XI.Please give me detailed steps as iam new to this.
Thanks in advance,
Bhargav
Hi Bhargav,
for the com.sap.aii.mapping.api.*; package you will have to import aii_map_api.jar in your class path......This jar file is in the following directory of your XI server:
<SAP_install_dir>/<system_name>/<instance_name>/j2ee/cluster/server<number>/apps/sap.com/com.sap.xi.services/
just copy-paste this jar file in your local system........include it in the class build path of your java project in which you have created your this java mapping......then your this mapping will compile.
Thanks,
Rajeev Gupta
Message was edited by:
RAJEEV GUPTA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhargav,
just take that jar file and save it in some directory of your local system.......then you have to add this jar file folder path to the CLASSPATH environment variable.. for this go through the below link:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
follow the steps which are given......then from command prompt you can compile your this java mapping program.
Thanks,
Rajeev Gupta
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.