on 07-12-2006 8:49 PM
Hi All,
To do Pidx mappings, the short namespace(XMLNS) has to be pidx: instead of ns2: or ns1: etc...
Is there anyway to tell XI what short namespace to use either in the ID or repository?
If not is this changeable at mapping time, or will I have to do it in an adapter module?
Kind Regards,
Chris
Hi Richard,
I had a similar issue - I needed to remove the NS alias completely. As far as I know there are 2 approaches to do this (probably there are more, but 2 I know of). You can either try using XSLT mapping - not sure how this works but I heard it shoud be feasible.
The approach I took was to change the NS alias in a module in the processing chain of your communication channel. It should be a similar solution independent of the adapter. This module will modify the XML message manipulating the NS alias.
regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Richard,
there's a standard module processor which does the prefix change. It's XMLAnonymizerBean. Check this thread for more information:
Also, if you wanted to do this in a java mapping, you could use Xerces's DOMParser to parse the output stream. Xerce's DOMParser implement's DOM Level 2, and so you can use some functionalities which are not avilable in documents created with others parsers (such as setPrefix method).
Regards,
Henrique.
Hi Richard,
I just wanted to know if you were working on an implementation of a PIDX Business Process in XI?
Regards,
Abhy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In case you want this namespae in your target message, you could always map a contant value to a node in the target.
The constant would have the value pdix:..
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.