on 02-15-2007 6:15 AM
Hi Experts,
I have a source message with fields EmpNo, EmpName, Dept and joining date. The target message has the same structure but fields are in different order. That is, EmpName, Dept, EmpNo and joiningdate.
How to achive the target message with message mapping and without using a different message type for target?
Kindly help
Thanks
Gopal
Hi Gopal,
Try this one.
1. Create Only one message type of target type.
2. Go to XSD tab and export the "XSD" of the message type.
3. Change the <xsd:sequence> element to <xsd:all>
4. Then import the "xsd" in external definitions.
5. Use the imported "xsd" and create Message mapping. Give both source and target the same message type from XSD.
6. just Map one to one.
Now you can get ur required target structure. Since it is <xsd:all> it will accept ur input file.
Regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
u will notn be able to do this in mapping. but what is the need for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
normally there is no need for this.
If you use e.g. the JDBC adapter for interting into a database-table it is not neccessary to have a order.
Why do you need this, what would you like to achive?
Maybe there is a good workaround.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
The target message is generated based on the target message type you give in message mapping. I dont think it is possible with a single message type. Lets wait for some one to answer.
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gopal,
Not possible using Graphical Mapping.
Java Mapping can hanlde this.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
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.