on 10-04-2007 4:38 AM
Hi,
I am getting "Cannot produce target element /ns:OUTFILE_MT" error when trying to do a simple File2File scenario.
Message Mapping test is working fine.
Any help would be appreciated.
Regards,
Sudha
Hi Sudha,
You get the error "Cannot produce target element" when ur source XML is not well formed.Take the source XML from the payload and paste it in the place of the source XML of your mapping.
Than compare both of these XML's and you will trace out the error.
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
and after run the scenario, go to sxmb_moni, go to inbound message , go to payload, and put that payload into the message mapping and then test the message mapping. you will come to know where is the error.
case2: check whether all the mandatory nodes are mapped .
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
and if your scenario is xml file to text file then use the following parameters at the receiver side
childnodename.fieldFixedLengths--1,1(suppose)
childnodename.endSeparator :'nl'(nl is for the next line)
parentnodename.fieldSeparator:'nl'
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if your scenario is text file to xml file then use the following parameters in the sender communication channel.
RECORD.fieldSeparator :,
RECORD.fieldNames :KEY,FNAME,LNAME,AGE
RECORD.keyFieldValue :1
DETAIL.fieldSeparatr :,
DETAIL.fieldNames :KEY,SALARY,EMPID
DETAIL.fieldNames :2
Note:these parameters are accoding to the structure given below.
suppose you have a structure like as below
data (0..unbounded)
record (0..unbounded)
key (1..1)
fname (1..1)
lname (1..1)
age (1..1)
detail (0..unbounded)
key (1..1)
salary (1..1)
empid (1..1)
and the input file will look like as below
1,aaa,bbb,23
2,12000,10838
1,ccc,ddd,23
2,13000,10830
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudha
can you please tell me that ur scenario is text file to xml or xml to text file
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just check whether the values you are trying to send in the source can be accepted by the target.I mean there is no data type mismatch or the format is correct..
Also Go to Message Monitoring and take the payload of the inbound message and copy the same while testing your message mapping in IR.
It will surely give some exception or error .Let us know that to help you better.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your FCC parameters are not matching with the Data type which you have defined. check your payload from SXMB_MoNI in the message mapping it will throw error.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudha
case1:Run the scenario and then copy the payload from the SXMB_MONI in a file and then upload that file in the message mapping and then check the message mapping.
case2: check all the mandatory nodes are mapped.
case3: check whether the data in the test file is according to the requirement for example:date format,etc....
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudha,
Do you have any mapping for this OUTFILE_MT from source?
if possible provide source and target Message types.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Copy the payload from sxmb_moni and compare it with the payload from message mapping test and find the differences between both.
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.