on 05-13-2008 6:05 PM
I created a data type and a message type.
After this the XML looks:
<ns0:salesOrder xmlns:ns0="urn:ny.com:nl.redsvan.delivery">
My receiver needs:
<salesOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:SchemaLocation="SalesOrder.v006.xsd">
I tried to use the adapter modul: AnonymizerBean
But the result is not useful:
<salesOrder>
I need the attributes
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:SchemaLocation="SalesOrder.v006.xsd"
Thanks in advance
Daniel
Hi Daniel,
Have you found any solution for this problem? If yes please write the solution here. It will be greate help. Thank you.
Br,
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madan
Yes I replaced the XML-namespace on my Messagetype.
So in MessageMapping you see only <my_type> and no <ns0:my_ype>.
To ensure that he incoming message from sender looks like my MT I use the adapter module
AF_Modules/XMLAnonymizerBean and the anonymizer.acceptNamespaces u2018 u2018
Example:
Sender
<salesOrder xmlns:lulu ..>
After adapter module
<salesOrder>
If your MT is also called <salesOrder> it will work.
For debugging, use the payload of XI Monitor.
Load This into MessagesMapping test and you will see if it match.
Next step is to test IM and then on Configuration time you could run the whole test.
I can send you some screenshots Daniel.guentner at gmx.de
Or send me your incoming file so I can explain step by step what you have o do.
Daniel
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.