on 07-25-2007 9:40 AM
Now I have the following requirement:
Message Type I:
Info (1~n)
|-- id (1)
|-- seq (1~n)
Message Type 2:
SeqInfo (1~n)
|-- seq (1)
now I've link the seq of type 1 to the SeqInfo of type 2, link the seq of type 1 to the seq of type 2, but while test the mapping, it continue giving me the the "Cannot produce target element" error.
Anyone can help me to solve it?
Hi
>>Cannot produce target element"
For which node you are getting this??? does it mention??
if not, check the mapping for the root node of the target. Check if your test data produces the source node that has to be mapped to the targets root node. If it does not produce it, you need do ensure that the source node is being produced in the test data
Then only you will get rid of this error
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://www.bababian.com/phoinfo/6BDE1DD1B83C8254728423A23C5B7437DT
Check it out.
The real situation is more complicated.
I'd like to map the seqno to a JDBC structure. Since the seqno may occur more than once, it will be inserted into database for by serveral rows.
Problem solved by using the UseOneAsMany function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Seems the problem has araised b'coz of the occurances. In the message Type 2
SEQ occurance is 1. You are mapping Seq of Message type 1 which is (1-n) occurances to SEQ Message Type 2 which has 1-1 occurance.
<b>Cheers,
*RAJ*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i think u hav mapped seq of type 1(which is unbounded) to seqinfo of type 2
Map the seqinfo of type 2 with root element of type1 ..but root element of type 1 should be unbounded..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
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.