on 03-28-2007 2:42 AM
hi gurus,
i need small clarification with the below issues
whats the difference between sap xi and sap xi/pi
difference between client and server proxy and can we call them from XI
DOM and SAX mapping advantages?
steps to use java mpping & abap mapping. you make it make it simple to understand?
cheers
ram
> whats the difference between sap xi and sap xi/pi
XI 3.0 runs on WAS 6.40 and is a part of Netweaver 2004.
PI 7.0 runs on WAS 7.0 and is a part if Netweaevr 2004s.
There is technically no difference between XI and PI. All features in PI are supported in XI. when Nw2004s was aunched XI was renamed as PI.
> difference between client and server proxy and can we
> call them from XI
Client proxy is when the proxy initiates the call to XI. You create the proxy for an Outbound Interface in Client Proxy.
Server proxy is when the XI calls the proxy. Inbound Interfaces lead to Server proxies.
The Proxies should be triggered / called on a different client other than the integration server.
> DOM and SAX mapping advantages?
DOM is easy to use. DOM loads entire XML into memory and so can lead to performance overheads for huge XML.
SAX is a bit complex but provides better perfromance.
> steps to use java mpping & abap mapping. you make it
> make it simple to understand?
Java Mapping start with these blogs,
/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
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh
Thanks for your prompt reply.
i really like wat u mentioned, thanks a lot.
java mapping you have mentioned is pretty complex. I am still wondering what about abap mapping and how to deal with XSLT mapping.
For e.g. i had made a file java file made it into a jar file then where do i specify that i need to change from source file to target file.
i need the same info for XSLT too.
But for abap i am still wondering how to deal with it? i mean to start with and then how to a,map with source etc..
cheers
ram
Just regarding DOM and SAX:
they arent mapping techniques. They are different XML parsing techniques for Java mapping programs.
DOM works with a tree-based parser, where the entire XML structure is created as a tree structure, and you can browse a node's parent node, chid node(s), etc.
SAX works with a push event-based parser. An event-based parser (or streaming parser, as they are also known) will consider each context change in the XML as an event for calling a parser method (for example, starting a node, ending a node, etc), but you cant know, instantly, which are that particular child nodes, for example. In particular, an push event-based parser determines how to treat data, since the parser will push data into the stream. That's mainly why its hard to work with SAX, because you kinda need to preview how the data will be treated and then extend the DefaultHandler class in order to customize the xml based on its inputs.
Instead, a pull event-based parser would be better because you can consume and create data at application runtime and not at parsing runtime. For more info on pull event-based parsers, check StAX. It's not available for J2SE/J2EE though, as a standard functionality. But you could try to import some .jars containing pull streaming parsers APIs (like StAX, XPP etc) into XI.
Regards,
Henrique.
Ram,
The how to guide for ABAP mapping,
><i>But for abap i am still wondering how to deal with it? i mean to start with and then how to a,map with source etc</i>
You will generate a ABAP class and write the ABAP code to do the mapping on the ABAP stack. Then in the Interafce mapping you will select ABAP Class and key in the Class name manually that does the mapping for you.
In the runtime, the ABAP class will be executed and the corresponding code run. You do not need a imported archive for ABAP mapping and the implemntation will reside on your XI ABAP stack itself.
Regards
Bhavesh
><i> For more info on pull event-based parsers, check StAX. It's not available for J2SE/J2EE though, as a standard functionality. But you could try to import some .jars containing pull streaming parsers APIs (like StAX, XPP etc) into XI.</i>
Early morning here and am too lazy to do a google and the research, but really interesting info this part. Will sure check this out
liKe you mentioned one problem with SAX is that it is memoryless and so you need to save the tagname and then read the characters info. If Stax is as interesting as it sounds, it is sure worth a try.
Any examples on this available?
Regards
Bhavesh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.