Skip to Content
Author's profile photo Former Member

How to remove namespaces in Mapping – XI

This is a pretty simple blog, addressing a very frequently asked question on XI forum as to how to remove the namespaces from the XML output of Message Mapping.  This issue has been answered on the XI forums as well, and i am putting it graphically as a weblog, for the benefit of newbies in XI.  While creating the Message Type in the Integration Repository, you can find a field called XML Namespace, this field will be holding the namespace value, as shown in the image below. image If we do not remove the namespace from there, then the xml output will also contain the namespace in the root element, as shown in the image below. image Inorder to get rid of the namespace from the XML output, we need to delete the value from XML Namespace, while creating the message type. image Now the XML output will look like below, image The output in SXMB_MONI as well, image  Hope this blog was helpful.

Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Hi Sameer,

      Good blog !!!

      Cheers,
      Naveen

      Author's profile photo Former Member
      Former Member
      Thanks.
      Author's profile photo Michal Krawczyk
      Michal Krawczyk
      hi Sameer,

      did you take a look at the XI FAQ?
      question 15 (integration engine section)

      The specified item was not found.

      Regards,
      michal

      Author's profile photo Former Member
      Former Member
      Good blog for newbies in XI
      Author's profile photo Former Member
      Former Member
      I wanted to remove namespace right below from my SCV and wanted to delete all other configurations i have created but unfortunatly i did not get help either from your graphics nor from Michal. If any one of you can guide me to remove will be of great help as i am a new to XI . Thanks !!
      Author's profile photo Former Member
      Former Member
      Hi Hadi,
      If you are looking at help in deleting your complete configuration, check the blog by Siva Maranani, How to : Delete Software Component from Integration Builder
      Hope it helps.
      cheers
      Sameer
      Author's profile photo Former Member
      Former Member

      First of all, thanks a lot for your blog, it has been a good guide for me in order to improve about the declarations in XI, but i have another problem concerning to namespaces, the term is that i want to delete all declarations in the outbonding xml, that is:Sergio

      Author's profile photo Former Member
      Former Member
      Hi,
      One way is to use an XSLT mapping to remove the namespace in your interface mapping after your message map.
      You can use the following XSLT,


           
           
                
                     
                

           

           
                
                     
                

           

           
                
                     
                

           

      Author's profile photo Former Member
      Former Member

      Hi,Norbert

      Author's profile photo Former Member
      Former Member
      Hi,

      when i am testing the proxy to file scenario, an error is occured saying  "EXCEPTION_DURING_EXECUTE" Cannot create target element /MT_iSIGHT_Employee_Details(root element).
      i had faced the same problem once.
      after going thru the payload found that its adding a new namespace at runtime "xmlns:prx="urn:sap.com:proxy:"..
      so any idea to handle this issue...?

      thanks,
      Lalitkumar.