on 01-31-2006 8:15 PM
Hi,
I'm writing an XI module that extracts a certain value from the XML Payload of a message and uses it for further processing.
The value is determined by an XPath that can be configured in the module's configuration.
I'm using the class <i>XPathMatcher</i> to evaluate the XPath. Unfortunately there is very little documentation on that API. It works as long as the XML message has no namespace associated. As soon as there is a <i>xmlns=...</i> in the root element, the <i>XPathMatcher.process()</i> method will not deliver any results.
Does anybody have experience with that class of the sapxmltoolkit or knows where to find more information (except for what's available in the <a href="http://help.sap.com/saphelp_webas630/helpdata/en/b6/8097f5a5edea4f8dfc87ac87082b22/frameset.htm">SAP Online Help</a>)
your help is appreciated,
Peter
Some months ago I asked SAP where I could find missing doc for SAPXMLToolkit, and the answer was: you're <i>allowed</i> to use only what's documented... meaning other stuff is not guaranteed to remain the same in the future...
That's when I decided to use
<a href="http://xerces.apache.org/xerces-j/">Apache Xerces</a>
You'll just have to include Xerces .jar files as external libs in your prj and they'll deploy along with your module.
Alex
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.