on 04-20-2010 3:04 AM
Hi experts,
we have a scenario need to send an EDI text file to 2 different receivers. We are receving the EDI file using the JMS adapter as Sender and File/FTP adapter as a receiver.
We are using Multi mapping (includes Java mapping and Graphical ) to send the Messages to receivers, While sending we are getting the Error In Moni as "Error in creating Multi XML Document".
In Java Mapping we are Converting the EDI text to EDI xml with <ns0:Messages1> and the output of Java mapping to Graphical Mapping,
While testing in Interface Mapping Test it works fine.
Please provide your Valuable inputs.
Thanks,
Ramg
Hi Ram,
Please check in mapping program whether you can see Messages, message1 and message2 tags.
-Tanaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ramkumar,
Looks like the target structure you have and the mapping runtime are not matching. the structure is not being generated. check and try to match the xml structures. this is a mapping issue.
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
"Error in creating Multi XML Document".. so its the prblm in mapping...
Can u please give us the what exactly the output u r getting, when u test in Message mapping or operation mapping.
It should contain Messages,Message1 tag correctly...
No element called <ns0:Messages1>...
So let us know the output u r getting in mapping.. so that some 1 here can figureout the prblm..
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
The below is the output im getting from Interface mapping
=====
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><ns2:MT_Req xmlns:ns2="http://test.com/CommonServices"><DataConversionArea><SapQtySign>P</SapQtySign><Filler> </Filler></DataConversionArea><DataElement><RspShipToLoc>000000</RspShipToLoc><Filler> </Filler></DataElement></ns2:MT_Req></ns0:Message1>
<ns0:Message2><ns2:MT_In_Req xmlns:ns2="http://test.com/CommonServices"><DataElements><ProdSchedNbr> </ProdSchedNbr><Filler>0030</Filler></DataElements></ns2:MT_In_Req></ns0:Message2></ns0:Messages>
=====
Thanks
Ramg
Hi Ram,
In java mapping as you said you are adding the tag <ns0:Messages1> , but in runtime PI might be
trying to add header/XML tags again and There is a possibility of multimple XLM declaration (one in java
mapping and other by PI runtime).that might be the reason of multiple XML document found.
Can you please check in your javamapping logic.
As the interface mapping works fine , then end to end should work .But wondering why its not,something to do with PI Runtime.
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
It can most probably due to error in Java mapping.Were you able to get the output in Interface Mapping.
One suggestion will be to uncheck the check box maintain order at runtime in Receiver determination.
It might Help you.
please try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
I am not sure but can you use multi mapping to send to 2 different receiver? I am doubtful for same.
As far as I understand, multi mapping can not spilt messages for different receiver hence you will be gettting this error.
You should create 2 different mapping for different receivers.
Regards
Sushil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.