ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dyanamic mapping with DFDL in MB8

Post new topic  Reply to topic
 Dyanamic mapping with DFDL in MB8 « View previous topic :: View next topic » 
Author Message
Ashok Kumar
PostPosted: Wed Sep 18, 2013 3:57 am    Post subject: Dyanamic mapping with DFDL in MB8 Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 53

Hai WMB Developers,


Is it possible to use dyanamic mapping using DFDL in MB8?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 18, 2013 3:59 am    Post subject: Re: Dyanamic mapping with DFDL in MB8 Reply with quote

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
View user's profile Send private message Send e-mail
Ashok Kumar
PostPosted: Wed Sep 18, 2013 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 18, 2013 4:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

When you read about the DFDL parser in the InfoCentre, what are your conclusions regarding your query ?

"Data Format Description Language (DFDL) is an XML-based language used to define the structure of formatted data in a way that is independent from the data format itself."

Waiting for your reply...
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Ashok Kumar
PostPosted: Wed Sep 18, 2013 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Wed Sep 18, 2013 4:23 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 18, 2013 4:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Ashok Kumar wrote:
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..



Have you read the documentation about DFDL?

Where it says :

WebSphere Message Broker uses the DFDL parser to read and write messages in the DFDL domain. When reading a message, the DFDL parser interprets a bit stream by using grammar defined in a DFDL schema file, and generates a corresponding DFDL domain logical message tree in the broker. When writing a message, the DFDL serializer generates a DFDL formatted bit stream from a DFDL domain logical message tree.


Specifically where it says "by using grammar defined in a DFDL schema file". What is your proposal to generate this file dynamically ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Sep 18, 2013 4:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Ashok Kumar
PostPosted: Wed Sep 18, 2013 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Sep 18, 2013 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Sep 18, 2013 4:43 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 18, 2013 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Wed Sep 18, 2013 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dyanamic mapping with DFDL in MB8
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.