on 09-11-2008 11:49 AM
Hi,
I have a scenario where I am splitting the source message and map them to 3 different target structures.
When I test the scenario in the Mapping under Test tab it is throwing an error as follows:
RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/Target1/xmlJob. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd.
The result for one of the target message in message mapping as follows: Is there some problem with the below lines in bold letters:There is a UDF which causing this transformation.
Please give some inputs on this.
Start tag [ns1:MT_O_T3]
Add raw attribute [ xmlns:ns1="http://pharma.com/"]
Start tag [Row]
Start tag [Title]
Put value [job titile]
Close tag [Title]
Start tag [JobID]
Put value [reference # 1]
Close tag [JobID]
Start tag [Country]
Put value [US]
Close tag [Country]
Start tag [City]
Put value [Mawo]
Close tag [City]
Start tag [State]
Put value [SA]
Close tag [State]
Start tag [ZipCode]
Put value [50123]
Close tag [ZipCode]
Start tag [Cname]
Put value [ ]
Close tag [Cname]
Start tag [Cphone]
Put value [ ]
Close tag [Cphone]
Start tag [Cemail]
Put value [ ]
Close tag [Cemail]
Start tag [Cweb]
Put value [http://www.pharma.com/]
Close tag [Cweb]
Start tag [Category]
Put value [9901]
Close tag [Category]
Start tag [Travel]
Put value [100]
Close tag [Travel]
Start tag [Telecommute]
Put value []
Close tag [Telecommute]
Start tag [JobType]
Put value [Executive]
Close tag [JobType]
Start tag [Clearance]
Put value [None]
Close tag [Clearance]
Start tag [Education]
Put value [1]
Close tag [Education]
before check 50000
after check 50000
before check 100000
after check 100000
after average 75000
Start tag [Salary]
Put value [Avg: 75000]
Close tag [Salary]
Start tag [Suitable]
Put value [ ]
Close tag [Suitable]
Start tag [Expire]
Put value [23]
Close tag [Expire]
Start tag [Sdesc]
Put value [job titile]
Close tag [Sdesc]
Start tag [Ldesc]
Put value [null]
Close tag [Ldesc]
Start tag [Requirements]
Put value [test description]
Close tag [Requirements]
Close tag [Row]
Close tag [ns1:MT_O_T3]
Thanks
BPR
Hello,
Check the occurences of the target messages if it is defined as 1 then it should populate all the time.
Regards
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the mapping for
/ns0:Messages/ns0:Message1/Target1/xmljob
either parent mapping is not done properly or if any UDF is used then it is not correct.
chirag
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 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.