on 09-28-2004 2:12 PM
Hi,
I exploring on JAVA Mapping in SAP-XI. Can someone help me to resolve below runtime error:
<SAP:Code p1="Error during mapping" p2="--- Creating Java mapping JavaFileMapping --- Using MappingResolver with context URL /sapmnt/TX1/global/xi/mapping/xxxxx/026bf060cfdd11d8aaa3edffa1593b7c/ --- Loaded class JavaFileMapping --- java.lang.IllegalAccessException at RUMappingJava.instantiate(): Could not instantiate class: JavaFileMapping JavaFileMapping --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.instantiate(RUMappingJava.java:144) at ............
According to above exception error, I understood missing related MAP jar files. Please let me know where to look for the mapping related include files.
Thanks
Azan
Hi,
i am investigating the java mappings in xi, until now i have done some dom examples implementing the StreamTransformation interface which methods uses org.w3c.dom.Document (DOM trees) in their signatures.
It would be very helpful to me your sample code because i am using the class DOMBuilder to get a org.jdom.Document (JDOM tree) from a dom tree, and i´d like to know if there is another more efficient way.
My email is jarboleya gmail com
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bill and Bjorn for your suggestions.
Bjorn,
I am exploring on SAP XI-2.Thanks in advance for sharing your sample javaMap.( email notifyaziz@yahoo.com)
Azan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azan,
further it is importent that your java mapping class implements "StreamTransformation" from the package "com.sap.aii.mapping.api.StreamTransformation". An additional very helpfull jar is "aii_util_xml.jar". This package contains JDOM and other stuff for processing JDOM. If you provide me with your EMail address I can send you a small sample mapping using JDOM.
Regards Björn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Java mapping, you will need the following jar file: aii_map_api.jar
You can find this jar file by searching for it (using the name) on your XI installation on the server.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.