on 11-18-2006 11:10 PM
Hey guys,
wat is the main use of XPath in SAP XI,i know it identifies different component of XML documents but wats the main use of it and also what exactly is meant by payload.
thanx
aamir
Hi,
Xpath :
Yes, the main purpose is it to identify.
Assume an option to have "and" or an "or" condition if required ( Example if want to check if "x" and "y" is satisfied or it you wanna check if "x" or "y" is satisfied, this can also be acheived)
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Payload :
It is the actual message content nothing but XML.and it the is actual business data to be exchanged in xml format.In that SOAP Header consitst of important information such as sender service,sender interface,sender name space
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.
Hi,
<i>XPath is a language for finding information in an XML document</i>. It is used to navigate through elements and attributes in an XML document.So thru this you can read the element and point out the element to work on, As you know in XI all the messages are processing with xml message. There is a need to navigate the xml document for many reasons. For e,g to do conditional routing i.e based on the payload data field you need to route into some receiver in that case you need to access that element. Totally there is a need to access xml element at any point of time.
Payload-this doc may help you-http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm
<i>The payload is the actual contents (business data) of a message in the Exchange Infrastructure.</i> - from sap help
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Aamir
To know about XPath expression, this link might help you :
http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm
Following links will be helpful to you to understand some actual usage of Xpath expression :
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
In sweet and simple one line definition, we can say : XI payload is actual business data to be exchanged , which is displayed in XML format.
To know more about payload you can have a look at this link:
http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm
cheers
Pooja
<b></b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.