on 02-20-2013 11:51 AM
Hi,
I want to develop a Java Mapping in NWDS and make use of the container parameter.
To make use of the same, I should import the below:
import com.sap.aii.mappingtool.tf3.rt.Container;
Can some one please help me with the jar file corresponding to the above so that I can compile and test on my workstation, before loading it to my mapping on PI7.1
Regards,
Sriram
try from browser,
http://<yourxiserverhost>:port/rep/repository/com.sap.xi.mapping.tool.lib_api.jar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Praveen. Do you have the jar file for the below import
com.sap.aii.mappingtool.tf7.rt.Container
My Java mapping is not getting compiled due to the absence of this jar import.
Rgds,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sriram,
I think you did not understand my previous reply completely. You can download the required jar file by pointing browser with below URL with your XI server host and port
http://<yourxiserverhost>:<port>/rep/repository/com.sap.xi.mapping.tool.lib_api.jar
Thanks Praveen. The above issue is resolved. However when i am trying to activate my MM i am getting the below error.
Java Area "Attributes and Methods", Line 5:
<identifier> expected trace = container.getTrace(); ^
Java Area "Attributes and Methods", Line 6:
<identifier> expected trace.addInfo("input:" + a); ^
Java Area "Attributes and Methods", Line 7:
<identifier> expected trace.addInfo("action:" + action); ^ 3 errors
The code is
public String Extract(String a, String action, Container container) throws StreamTransformationException{
String result = "";
StringTokenizer st = new StringTokenizer(a,";");
AbstractTrace trace;
trace = container.getTrace();
trace.addInfo("input:" + a);
trace.addInfo("action:" + action);
}
Is there any import i am required to do for using the getInfo and addTrace methods?
Regards,
Sriram
Hi Praveen and Gagan,
I can get it from Basis but is there a possibilty of either of you haveing the jar file locally with you?
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bharat. Please email me on sriram_654@rediffmail.com
For PI7.1, it is com.sap.xi.mapping.tool.lib_api.jar not aii_mt_rt.jar
http://<yourxiserverhost>:port/rep/repository/com.sap.xi.mapping.tool.lib_api.jar
Hi Sriram,
i am not sure but you can check if this jar file is available in PI server that have a look the following blog:
and check for compile java mapping without NWDS using command:
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.