on 11-16-2021 12:08 PM
what does it mean that I find fields starting with "ns3:" "ns2:" in a structure?
I read that they are namespaces, but how do I define them in the xml file? and what are they for?
Hello Mark,
You will see multiple namespaces in case of any multimapping kind of a structure. These will be taken care by the system internally once the source payload comes to hit the source structure.
If you want to see what the final XML payload format, run the integration in "trace" mode and see the payload. This will give you understanding on the structure.
Regards,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark
It's an XML concept. Namespaces are used to differentiate between XML elements, that have the same name. That ns2 prefix, you refer to, will be defined somewhere in the document as xmlns:ns2="something" (the something here is often a URL, but doesn't have to be).
One thing to keep in mind is that if a document uses namespaces, and you want to use e.g. an XPath expression in a Router step, you need to declare the required namespaces in the iflow's runtime configuration. Otherwise, your XPath expressions will not work.
Regards,
Morten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.