on 06-20-2007 7:11 AM
Hi guys,
I'm new to XI. I have done an xml file to xml file scenario. It is working successfully
The output file has a format
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_xml_receiver xmlns:ns0="http://xml2xml">
<DETAILS>
<ID>111</ID>
<NAME>Varun</NAME>
<LOCATION>India</LOCATION>
<ADD>Bangalore</ADD>
<MOBILE>46572727</MOBILE>
<EMAIL>varunmukund@gmail.com</EMAIL>
</DETAILS>
</ns0:mt_xml_receiver>
I want to remove the additional tag present for the message type and i want the output in the format
<?xml version="1.0" encoding="UTF-8"?>
<DETAILS>
<ID>111</ID>
<NAME>Varun</NAME>
<LOCATION>India</LOCATION>
<ADD>Bangalore</ADD>
<MOBILE>46572727</MOBILE>
<EMAIL>varunmukund@gmail.com</EMAIL>
</DETAILS>
Can any one help me on how to achieve this???
Pl help me on this guys
Regards
Varun
HI Varun,
This will help you..
In the message type <b>mt_xml_receive</b>r there is a box where the namespace name is specified.
Simply delete the same and activate the message type.
In your case what you can do is as you dont want the message type name also.
you can create the message type name as DETAILS instead of mt_xml_receiver.
Regards,
Sumit
ps : reward points if tht helped u.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe using a file adapter module in the receiver adapter can do the trick
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the receiver file adapter, you have an option to add a custom adapter module which will be the last step done in the IS pipeline before outbound processing (pushing to the target system). So, here in the receiver adapter module, you can write java code to filter the desired line and then set the result as output
regards
krishna
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.