on 08-27-2013 10:06 PM
Hi All,
I know we can remove the namespace from xml using the bean AF_Modules/XMLAnonymizerBean, like this can we have any module to add the namespace to the xml in sender file adapter.
I have a requirement that is add the namespace at adapter level in the xml. the xml file coming from third party doesn't have PI namespace. I know we can remove the namespace in the message type definnition and we can handle it. but I can't do this way because I am using the same message type for the file and proxy structure.
Appriciate your help!
You can copy your structure to new one and remove namespace in data type.
After that make mapping new structure to old one and arrange in operation mapping.
On the end you will have two different messages (one with namespace, one without) which come to PI but only old message which go out from PI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here is one of such threads for XSLT mapping, refer to Priyanka's reply:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You do xslt mapping to add namespace which is pretty easy and search scn you will find plenty of threads. Also maintain two message type one for file and other one for your proxy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to create two message type. one remove the namespace and the other for proxy.
Regards.
Lucho
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.