Author |
Message
|
Ashok Kumar |
Posted: Wed Sep 18, 2013 3:57 am Post subject: Dyanamic mapping with DFDL in MB8 |
|
|
Acolyte
Joined: 01 Jul 2013 Posts: 53
|
Hai WMB Developers,
Is it possible to use dyanamic mapping using DFDL in MB8? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 3:59 am Post subject: Re: Dyanamic mapping with DFDL in MB8 |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Ashok Kumar wrote: |
Hai WMB Developers,
Is it possible to use dyanamic mapping using DFDL in MB8? |
Hai !
Sure you can do anything you want. Please point out the documentation which supports your assertion. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Ashok Kumar |
Posted: Wed Sep 18, 2013 4:12 am Post subject: |
|
|
Acolyte
Joined: 01 Jul 2013 Posts: 53
|
Thanks for the reply...!
We already done a scenario on dynamic mapping with WTX node but we are not familiar with DFDL parser.How can we achieve the dynamic mapping using DFDL..?
Waiting for a response  |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 4:15 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
Ashok Kumar |
Posted: Wed Sep 18, 2013 4:22 am Post subject: |
|
|
Acolyte
Joined: 01 Jul 2013 Posts: 53
|
Thanks for u r reply...
What i wanted to say is that I already done a flow on DFDL using Mapping node but I got a requirement on Dynamic mapping with DFDL.
Need your help in moving forward.. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Sep 18, 2013 4:23 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Please define what you mean by 'dynamic mapping'. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 4:24 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 18, 2013 4:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
DFDL doesn't do any mapping at all.
Statically or dynamically.
Maybe you should consult the documentation on the Mapping node. |
|
Back to top |
|
 |
Ashok Kumar |
Posted: Wed Sep 18, 2013 4:36 am Post subject: |
|
|
Acolyte
Joined: 01 Jul 2013 Posts: 53
|
We already done a scenario on dynamic mapping with WTX node using Compute node..how can we achieve the same scenario using
DFDL. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Sep 18, 2013 4:39 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Ashok Kumar wrote: |
We already done a scenario on dynamic mapping with WTX node using Compute node..how can we achieve the same scenario using
DFDL. |
mqjeff has great advice ... Maybe you should consult the documentation.
Do you have a coach ? Do you have a mentor ? Have you attended training ? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 18, 2013 4:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Ashok Kumar wrote: |
We already done a scenario on dynamic mapping with WTX node using Compute node..how can we achieve the same scenario using
DFDL. |
And as others have said:
a) define what you mean by "dynamic mapping", if necessary by refering to the WTX artifacts you've used in the WTX solution
b) WTX is a mapping engine & self contained software solution; DFDL is a data description launguage which WMB uses for one of it's parsers. WTX has more capabilities than WMB (which is way IBM still makes money selling it in addition to WMB) so it's not a direct comparison as DFDL doesn't do mapping. So is your question "how do I perform a WTX style dyanmic mapping using WMB artifacts like the Mapping & Compute nodes?". Because if it is, the answer is "by creating a mapping or writing code".
Be specific.
Also explain why, if you have WTX, you're not leveraging that very expensive software to do this. _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Wed Sep 18, 2013 4:46 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 18, 2013 4:45 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Ashok Kumar wrote: |
We already done a scenario on dynamic mapping with WTX node using Compute node..how can we achieve the same scenario using
DFDL. |
You can't.
DFDL DOES NOT DO ANY MAPPING.
IT IS NOT A MAPPING TOOL.
IT IS A MODELLING TOOL.
You are asking "How do I drive on the highway using a chicken".
Chickens aren't automobiles. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Sep 18, 2013 6:38 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
@Ashok: WMB v8 can almost certainly do what you want. But you do need to describe what you want to do. We don't know what you mean by 'dynamic mapping'.
mqjeff is trying to point out that DFDL is a language for describing data formats. It does not specify how to map one data format to another data format.
In WTX, you can write a single map that
a) interprets the input data format
b) maps the fields to the output format
c) writes the output data format
In WMB or IIB you do the same thing in multiple steps, like this:
a) parse the data using the DFDL domain. This creates a message tree ( InputRoot )
b) map the logical structure of the data from InputRoot to OutputRoot. You can do this using a graphical mapping tool, or Java, or ESQL or PHP, or XSLT.
c) convert the output message tree ( OutputRoot ) to the output data format. This output format might be XML, or JSON, or another DFDL format that is described by a separate DFDL schema.
So in WMB/IIB we make a clear distinction between
1. converting the data format to/from a tree ( parsing ) and
2. converting one tree structure to another ( mapping )
Clear enough? _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
|