on 03-16-2010 5:46 PM
Hello All,
Iam creating proxy to file scenario.....at receiver side iam creating XML file like below.
<?xml version="1.0" encoding="UTF-8" ?>
<OrderTransaction>
<TransactionInformation Version="2.0.0">
<DocId>0180000186</DocId>
<Sender>........
.............................
........................
</OrderTransaction>
bit now client require one header node like below
<!DOCTYPE OrderTransaction PUBLIC "Order" "Order.dtd">
now th recevier xml need to look like
<?xml version="1.0" encoding="UTF-8" ?>
<OrderTransaction>
<!DOCTYPE OrderTransaction PUBLIC "Order" "Order.dtd">
<TransactionInformation Version="2.0.0">
<DocId>0180000186</DocId>
<Sender>........
.............................
........................
</OrderTransaction>
how to add that node........... i cant add it as node element............ Please help me out.
Thanks and Regards,
Chinna
Edited by: chinnasapxi on Mar 16, 2010 8:11 PM
Hi,
you can also try to use java mapping as the second mapping step after message mapping and replace <OrderTransaction> with <OrderTransaction>\n<!DOCTYPE OrderTransaction PUBLIC "Order" "Order.dtd">\n.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
Probably writing a script and calling in receiver file adapter after message processing and in the script just add the line in the 3rd line and then put the rest.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.