Skip to Content
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.
To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Mark Wagnor
    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 !!
    (0) 
  2. Sergio Díaz Sánchez

    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

    (0) 
    1. Sameer Shadab Post author
      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,


           
           
                
                     
                

           

           
                
                     
                

           

           
                
                     
                

           

      (0) 
  3. Lalitkumar KewalChand
    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.

    (0) 

Leave a Reply