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 » IIB9: Mapping Node, DFDL Domain with CRC32

Post new topic  Reply to topic
 IIB9: Mapping Node, DFDL Domain with CRC32 « View previous topic :: View next topic » 
Author Message
akil
PostPosted: Tue Oct 21, 2014 10:24 pm    Post subject: IIB9: Mapping Node, DFDL Domain with CRC32 Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Hi

I have a message model in the DFDL domain that creates an output such as the following

Code:

U03005~TraceID~SourceID~TimeStamp~Userid~CustomerID~ Authenticator1~Authenticator2~Authenticator3~RechargeAmount~Filler1~Filler2~Filler3~Checksum


The last element of the model is a Checksum that's a CRC that's computed for for all the elements till Filler3 (including the trailing ~ after Filler3 & before Checksum).

I am using the GDM to create all the elements (except CheckSum). For the CheckSum I am currently having a JCN after the mapping node, that compute the CRC and appends it at the end of the message. This is alright, but I have to disable the validation at the Mapping Node (since CheckSum is mandatory but its not getting created in the GDM).

Is it possible to compute the CRC in the GDM itself? For this, I'll need to be sure of the order in which the transforms are getting applied , since the CheckSum needs to be computed at the very end, and I'll need a way to serialise the partially created model ..

Any ideas?
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
kimbert
PostPosted: Wed Oct 22, 2014 1:05 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I think you are doing it the correct way. If the CRC is calculated from the bitstream then the Mapping node cannot calculate it - the Mapping node operates on the logical message tree.
It may be possible to invent a solution that uses two or more Mapping nodes, but I think this type of problem is best solved using a procedural language.
_________________
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
akil
PostPosted: Wed Oct 22, 2014 9:49 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Thank you for the confirmation..

This is my first use case for the validation node, till date I always used the validation properties of the compute / mapping nodes themselves , and didn't ever need to use the standalone validation node
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB9: Mapping Node, DFDL Domain with CRC32
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.