Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML problem

we have an immediate requirement.I am doing JMS MQ to IDOC

we get an XML into JMS MQ as fallowing....

<i2 Document>

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

<ns0:test xmlns:ns0="urn.kcc.com:otna:test">

<Record>

<EMP>Tom</EMP>

<Address>Appleton</Address>

<ID>2456</ID>

<Department>SAP</Department>

</Record>

</ns0:test>

</i2 Document>

JMS MQ queue doesnt accept this kind of XML....we need to take of the appended two tags....

Can we take of the bold char appended and take the original XML file.....if so how can we do that....

Edited by: Harsha reddy on Sep 12, 2008 6:36 PM

Former Member
Former Member replied

Hi Harsha

I think you need to get right xml into JMS queue so that you don't need to perform any sender JMS content conversion. If XI receives message in XML format (sender JMS), we dont need to make any changes to module tab.

or if you get message type name <i2 Document> and you cannot control source (system which is sending message), you need to write java module to convert this xml tag into <i2_Document> and call the module from processing sequence tab.

Thanks

Sai

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question