Quick Tips: Dealing with Namespaces in XI/PI
<body><p> </p><p>1. I don’t want any namespace reference in my payload</p><p>2. My message type has the namespace as <XYZ> but my target system is expecting it to be <ABC></p><p>3. I need to have additional namespaces in my payload</p><p>4. How can I handle XML prefixes in my message?</p><p>5. I want to remove some specific namespaces from my payload </p><p> </p><p>The above are some of the general questions/requirements that a XI/PI developer stumbles upon when dealing with namespaces. This blog is intended to be a quick reference to deal with such requirements.</p><p> </p><p>NO Namespace at all
The easiest trick here is to remove the namespace reference from the message type itself. You can refer the blog
to help you with this
A different namespace instead of the one in MT?
Taking the approach just discussed above, instead of removing the namespace, go ahead and edit the namespace to what is expected by the target payload.