cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change XML Header Info

Former Member
0 Kudos

Hi,

How to Change XML Header information which generated by XI?

for Ex: + <ns0:MT_FILE_TARGET_SAP_TO_File

xmlns:ns0="http://test.com/xi/LIMS/1.0//MM_QM/SAP_T

o_File">

This need to be changed to our desired format.

Thx®ards,

Ansar.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

<?xml version="1.0" encoding="UTF-8"?>

<b><ns0:MT_FILE_TARGET_SAP_TO_File xmlns:ns0="http://labvantage.com/xi/LIMS/1.0//MM_QM/SAP_T

o_File"></b>

<ZHEADER><ZMESSAGE><MSGID>asdf</MSGID><MSGTYPE>as

</MSGTYPE><MSGNAME>asdf</MSGNAME><MSGFLOW>asdf</MSGFLOW><

MSGDBID>asdf</MSGDBID><MSGVERSION>asdf</MSGVERSION></ZMES

SAGE><ZMETADATA><PREVID>asdf</PREVID><ERROR>asdf</ERROR><

ACKN......

How to change the <b><ns0:MT_FILE_TARGET_SAP_TO_File

xmlns:ns0="http://labvantage.com/xi/LIMS/1.0//MM_QM/SAP_T

o_File"></b>

.....this need to changed like <b><testfile></b> .. How to do this?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you can delete the namespace:

http://test.com/xi/LIMS/1.0//MM_QM/SAP_T

in the message type (this field is editable)

question:

12. I have a problem with namespaces in XI - Is there a way to remove them?

from the XI FAQ - link below

the MT_FILE_TARGET_SAP_TO_File

can also be change over there

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

I changed there but it is not refleting....???

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

change the message interface

and create a new config in directory

activate and it will work

Regards,

michal

Former Member
0 Kudos

hi,

How to change this "MT_FILE_TARGET_SAP_TO_File" also

in XML file header?

I am getting this output header when sap generated

<ns0:MT_FILE_TARGET_SAP_TO_Sapphire>

Can I get get this xml header like <abc> ?

this <ns0...> also to be removed?

thx and regards,

Ansar