on 05-04-2006 12:16 PM
I have container with data for example:
<data>
<id></id>
<name>Name</name>
</data>
How to assign <id> the value from SimpleType?
I need the following result
<data>
<id>1234</id>
<name>Name</name>
</data>
Do I need mapping step or contaner step?
Hi Dennis,
the problem is, that you have 2 different source messages which you want to combine to one target message. Use following trick:
define the field "id" as optional, as well the field "name". Create a multiple row container, add the id in a container step like
<data>
<id>123</id>
</data>
and add the message like
<data>
<name>Denis</name>
</data>
Finaly merge the rows to a single message.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is the value of id, a constant?
If so, you could map a constant value to id.
In your mapping editor, choose "constants" from the function list and select "constant" to generate a constant value.
If this value is not a constant, could you explain the scenario in detail?
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Map Constant = 1234 to ID.
Does this value (1234) changes???
Regrds
Suraj
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.