Author |
Message
|
kirank |
Posted: Mon May 11, 2009 9:30 pm Post subject: WTX Map in WMB |
|
|
 Centurion
Joined: 10 Oct 2002 Posts: 136 Location: California
|
I am planning to use WTX map node in WMB for transforming EDI 834 data using HIPPA pack. I can develop this map in WTX and then deploy it to Broker node. The question I have is regarding input to WMB. The input will come in WMB through a message in MQ queue. I have two options
1. For MQ input node use BLOB domain to parse it and then pass it to WTX map node
2. Create a X12 message set based on export from WTX and then use that message set to parse it and then pass it to WTX map node.
I have not used the node yet but just want to know which one works best? Performance wise it sounds like option 1 would be better but I am not sure the node accepts BLOB. Is there any link for documentation related to this node?
Regards
Kiran |
|
Back to top |
|
 |
harish_td |
Posted: Mon May 11, 2009 10:04 pm Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
Parsing as BLOB and invoking the WTX node is the way to go.
Even if you pass a parsed message broker MRM structure to the map, the Input Tree [WTX for InputRoot] treats this is a binary stream of data.
Do remember to pass the correct values for CCSID and the Encoding of the message that you send into the WTX node. This will save you a lot of debug time. |
|
Back to top |
|
 |
basva |
Posted: Tue Jul 07, 2009 8:33 pm Post subject: Any success with Parsing |
|
|
Apprentice
Joined: 27 Nov 2002 Posts: 39
|
Hi Kiran,
We are in the same boat now? How you resolved the parsing issue with WTX in WMB?
Thanks
Satish |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Jul 07, 2009 9:33 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
i feel there is no need to do schema validation at MQ Input node, as the same happens at WTX side.
incase if you are looking for double validation then Option 2 is suitable.
For Option 1, you have to build a robust error handling scenario. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jul 08, 2009 12:51 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I don't see any benefit in option 1, unless you want to heat your server room by running your CPUs a little hotter
Quote: |
i feel there is no need to do schema validation at MQ Input node |
Nobody has even mentioned schema validation. The WTX industry pack might well do some validation of the incoming messages - and some of it might go significantly deeper than schema validation.
Quote: |
For Option 1, you have to build a robust error handling scenario. |
I agree. |
|
Back to top |
|
 |
inMo |
Posted: Fri Jul 10, 2009 10:58 am Post subject: |
|
|
 Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
What version of WMB WTX are you using? If you are doing v6 WMB then you will likely be better off with BLOB in WMB. WMB will pass the bitstream to WTX where WTX will parse it. That said, in this scenario you will have some workable challeneges with exceptions. WTX will fail invalid data, and not be exceptionally helpful communicating back to the broker with why.
If you are using v6.1 you can build your maps using an MRM tree. This will allow a parse to occur in WMB and the parsed data will be used by WTX for mapping. This would also provide more options for error reporting. |
|
Back to top |
|
 |
|