Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Shabarish_Nair
Active Contributor
0 Kudos

<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

How to remove namespaces in Mapping - XI

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.

Original MT:

Modified MT:

Result:

!https://weblogs.sdn.sap.com/weblogs/images/37298/name_3_may2010.JPG|height=161|alt=image|width=346|s...!</body>

2 Comments