cancel
Showing results for 
Search instead for 
Did you mean: 

How to expertise in Java mapping XI i am intersted

Former Member
0 Kudos

Hi XI experts

I am new to XI as well Java but i am more intersted to write

<b><u>Java mapping and Java proxies</u></b>

I searched full sdn but i am not getting the proper start up

Can any one help me on this ?

Adv thanks and points to all

Regards

Kiran LVS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Did you fine this series of blogs on Java Mapping?

/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

For Java Proxies:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...

How to Guide on Java Proxies in XI3.0: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

These have lot of info to do Java mappings and proxies.

Regards,

P.Venkat

Former Member
0 Kudos

Hi

Try to learn the basics of java first like OOPs,Exceptions,Strings,Collections....

After getting how you are creating the objects(classes)

Rest all things will be very easy and simple

Give me your mail id ... i will all the basic programs of java such that you can

follow the above links very easily

Regards

Prasad K

Former Member
0 Kudos

Hi

Thanks to all

Prasad you pls..send to : kiranlvs@gmail.com

regards

kiran LVS

Former Member
0 Kudos

Hi ,

There are 2 types of implementations in Java Mapping.

1)SAX 2)DOM

You can implement your mapping function using both of these techniques.

Check the guide of java mapping also......

Sekhar

Former Member
0 Kudos

Hi

The following thread will give the full details on Java mapping after java basics

Programming

Apart form the above links u can look at these following links will give you more

information on java mapping/Debug/Testing

/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio

/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs

/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file

/people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings

http://help.sap.com/saphelp_nw04/helpdata/en/bd/c91241c738f423e10000000a155106/frameset.htm

I think this will answer your question

Regards

Prasad K

Former Member
0 Kudos

Hi

Thanks a lot and i think i can work on Java mapping know with above all

information

points are awarded

Kiran LVS

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In Java mapping we can use either SAX or DOM.SAX is used to read a file and DOM is used to build the target file.It is easy to deal with SAX and DOM.

SAX and DOM are Parsers , tht are used to parse the xml document.

when you use java mapping .u need to first parse the incoming message into xi by using any of these parsing techniques.....then u can alter the parsed xml schema...according to the required target structure.

Just go through these links:

<a href="http://www.cafeconleche.org/books/xmljava/chapters/ch09.html">http://www.cafeconleche.org/books/xmljava/chapters/ch09.html</a>

<a href="http://www.cafeconleche.org/books/xmljava/chapters/ch06.html">http://www.cafeconleche.org/books/xmljava/chapters/ch06.html</a>

Regards,

Gunasree.

Former Member
0 Kudos

Hi Kiran,

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