on 01-17-2007 4:35 PM
Hi,
I have worked on Graphical mapping and XSLT Mapping. I want to do some scenarios using Java mapping. Can anyone give the detailed steps to work on Java Mapping. What are the softwares needed and their configurations. Also I want to know whether NWDS is compulsory to work on Java Mapping. Thanks.
Regards
Suresh
Hi,
>>Java mapping you can use it for Validation....
>>NWDS with this you can compile your java code and Import. and NWDS is not compulsory..
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kasu,
Yes, using normal J2SDK you can compile and create Java mappings. But you need to have the following jar files in your classpath since Java mapping class requires this jar file.
j2ee\cluster\server0\apps\sap.com\com.sap.xi.services
Inside com.sap.xi.services folder you'll find the jar file.
--Archana
Kasu,
Yes you can. Take the simple example given in this weblog (java code given in the last):
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
So create an ear file and deploy it in XI server. Here you can use NWDS or any other tool to create a ear file.
Some examples of java mapping are given here:
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
Hope this helps...
---Satish
Hi Kasu,
Java Mapping is one of the mapping techinuqe which xi supports,
There are few steps which you need to follow while doing java mapping.
Steps:
1)you need to use any parsing Technique either DOM Or SAX.
2)Develop your java class with out main method in Netweaver Developer stdio.
3)Need to create a jar file in the Cmd(commond line promot.
Commond for creation of jar cf name.jar filename.class
4)import your jar file in to IR.you can see Imported Objects under software component.Right click on the Imported Object and select New and enter the name and browse your jar file and select the corresponding jar file which you created and click save and activate.
5)when you are doing Interface Mapping you need to select as Java calass and select the Mapping program and after the process is same as normal.
If you have any doubts please let me know I can very welcome to receive your queries.
Thanks and Regards,
Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kasu,
A tutorial for the methods of SAX and DOM you will find here:
<a href="http://java.sun.com/webservices/docs/1.1/tutorial/doc/">http://java.sun.com/webservices/docs/1.1/tutorial/doc/</a>
Hope it will helpful to you.
cheers,
Prasanthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its not necessary that NWDS is compulsory to work with Java mapping.
for java mappings you need jar file.
Just have a look at these links for mapping:
<a href="/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i:///people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm</a>
Regards,
Gunasree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>I want to do some scenarios using Java mapping. Can anyone give the detailed steps to work on Java
Mapping.</i>
Check this Weblog
/people/venkataramanan.parameswaran/blog/2006/12/12/java-mapping-to-handle-flat-files-in-sap-xi
<i>What are the softwares needed and their
configurations. .</i>
you need to use any parsing Technique either DOM Or SAX.
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
Bipin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. for java mappings you need jar file for those mappings
(can be found in XI FAQ page)
2. there are many examples of java mappings in SDN blogs
just type on google.com java mapping site:sdn.sap.com
(some with code included)
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.