Author |
Message
|
kirank |
Posted: Sun May 31, 2009 9:32 pm Post subject: WTX with WMB |
|
|
 Centurion
Joined: 10 Oct 2002 Posts: 136 Location: California
|
I have installed WTX 8.2 for integration servers with WMB 6.1 toolkit. I am able to see the WTX map node and able to use it. But I have read that there is also WTX parser that comes with it. I can't see the WTX parser in MQ input node is there some additional setup we need to do to see the parser?
I have exported WTX HIPAA pack X12 type tree from WTX and imported that as a message set. When I used that message set to parse X12 834 message using Partner as the Message, I don't see a fully parsed message tree in the Trace node trace file. I have included the trace below. So the questions I have is should I use WTX parser instead message set in MQ input node to parse X12? If yes how to enable that parser? If No then why does the message set does not give a fully parsed tree?
Regards
Kiran
['MQROOT' : 0x5e45018]
(0x01000000):Properties = ( ['MQPROPERTYPARSER' : 0x9792fb0]
(0x03000000):MessageSet = 'EDI_X12_MS' (CHARACTER)
(0x03000000):MessageType = '{}:Partner' (CHARACTER)
(0x03000000):MessageFormat = 'Text_X12' (CHARACTER)
(0x03000000):Encoding = 546 (INTEGER)
(0x03000000):CodedCharSetId = 437 (INTEGER)
(0x03000000):Transactional = TRUE (BOOLEAN)
(0x03000000):Persistence = FALSE (BOOLEAN)
(0x03000000):CreationTime = GMTTIMESTAMP '2009-05-30 16:15:49.600' (GMTTIMESTAMP)
(0x03000000):ExpirationTime = -1 (INTEGER)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000):Topic = NULL
(0x03000000):ContentType = '' (CHARACTER)
(0x03000000):IdentitySourceType = '' (CHARACTER)
(0x03000000):IdentitySourceToken = '' (CHARACTER)
(0x03000000):IdentitySourcePassword = '' (CHARACTER)
(0x03000000):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000):IdentityMappedType = '' (CHARACTER)
(0x03000000):IdentityMappedToken = '' (CHARACTER)
(0x03000000):IdentityMappedPassword = '' (CHARACTER)
(0x03000000):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000000):MQMD = ( ['MQHMD' : 0x7eb3008]
(0x03000000):SourceQueue = 'X12.IN' (CHARACTER)
(0x03000000):Transactional = TRUE (BOOLEAN)
(0x03000000):Encoding = 546 (INTEGER)
(0x03000000):CodedCharSetId = 437 (INTEGER)
(0x03000000):Format = ' ' (CHARACTER)
(0x03000000):Version = 2 (INTEGER)
(0x03000000):Report = 0 (INTEGER)
(0x03000000):MsgType = 8 (INTEGER)
(0x03000000):Expiry = -1 (INTEGER)
(0x03000000):Feedback = 0 (INTEGER)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):Persistence = 0 (INTEGER)
(0x03000000):MsgId = X'414d5120574d42365f514d4752202020c990204a20023004' (BLOB)
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):BackoutCount = 0 (INTEGER)
(0x03000000):ReplyToQ = ' ' (CHARACTER)
(0x03000000):ReplyToQMgr = 'WMB6_QMGR ' (CHARACTER)
(0x03000000):UserIdentifier = 'Administrato' (CHARACTER)
(0x03000000):AccountingToken = X'1601051500000081227b35310be8b9b92851ccf401000000000000000000000b' (BLOB)
(0x03000000):ApplIdentityData = ' ' (CHARACTER)
(0x03000000):PutApplType = 11 (INTEGER)
(0x03000000):PutApplName = 'ield\Design\ih03\rfhutil.exe' (CHARACTER)
(0x03000000):PutDate = DATE '2009-05-30' (DATE)
(0x03000000):PutTime = GMTTIME '16:15:49.600' (GMTTIME)
(0x03000000):ApplOriginData = ' ' (CHARACTER)
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):MsgSeqNumber = 1 (INTEGER)
(0x03000000):Offset = 0 (INTEGER)
(0x03000000):MsgFlags = 0 (INTEGER)
(0x03000000):OriginalLength = -1 (INTEGER)
)
)
(0x01000021):MRM = ( ['mrm' : 0x968b6b8]
(0x01000013):Partner = (
(0x01000013):Partner = (
(0x0300000B):Element_9 = 'ISA*00* *00* *ZZ*HEALTHCARE_PS *ZZ*HEALTHCARE_DEV *010806*1200*U*00401*000000006*0*T*' (CHARACTER)
(0x01000013):ISAPartnerInfo = (
(0x0300000B):Auth_0x003C_nInfoQual_0x003C_r = '
GS*BE*PROFSERV*DEVELOPMENT*20010101*120000*001*X*004010X095A1
ST*834*0001
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*021*20*A***FT
REF*0F*123456789
REF*1L*123456001
DTP*356*D8*19960523
NM1*IL*1*DOE*JOHN*P***34*123456789
PER*IP**HP*7172343334*WP*7172341240
N3*100 MARKET ST*APT 3G
N4*CAMP HILL*PA*17011**CY*CUMBERLAND
DMG*D8*19400816*M
HD*021**HLT
DTP*348*D8*19960601
COB*P*890111*5
N1*IN*ABC INSURANCE CO
HD*021**DEN
DTP*348*D8*19960601
HD*021**VIS
DTP*348*D8*19960601
SE*22*0001
ST*834*0002
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*N*19*021*28*A****F
REF*0F*123456789
REF*1L*123456001
DTP*351*D8*19980515
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19770816*M
NM1*M8*2*PENN STATE UNIVERSITY
HD*021**HLT
DTP*348*D8*19960601
SE*15*0002
ST*834*0003
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*021*20*A***FT
REF*0F*202443307
REF*1L*123456001
DTP*356*D8*19960112
NM1*IL*1*SMITH*WILLIAM****34*202443307
PER*IP**HP*7172343334*WP*7172341240
N3*1715 SOUTHWIND AVENUE
N4*ANYTOWN*PA*171110000
DMG*D8*19700614*M
HD*021**HMO
DTP*348*D8*19960601
LX*01
NM1*P3*1*BROWN*BERNARD**DR****25
SE*18*0003
ST*834*0004
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*001*22*A***FT
REF*0F*202443307
REF*1L*123456001
NM1*IL*1*SMITH*WILLIAM****ZZ*2024433307
HD*021**DEN
DTP*348*D8*19960701
SE*12*0004
ST*834*0005
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*001*22*A***FT
REF*0F*202443307
REF*1L*123456001
NM1*IL*1*SMITH*WILLIAM****ZZ*2024433307
HD*024**DEN
DTP*349*D8*19960701
SE*12*0005
ST*834*0006
BGN*00*12456*19980520*1200****2
N1*P5*GENERIC INC*FI*123456789
N1*IN*ABC INSURANCE*FI*654456654
INS*Y*18*001*25*A***FT
REF*0F*123456789
REF*1L*123456001
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19500415*M
NM1*70*1*DOE*JAMES*E
DMG*D8*19500416*M
SE*12*0006
ST*834*0007
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*N*19*024*07*A
REF*0F*123456789
REF*1L*123456001
DTP*357*D8*19960801
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19770816*M
SE*12*0007
ST*834*0008
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*024*08*A***TE
REF*0F*123456789
REF*1L*123456001
DTP*357*D8*19961001
NM1*IL*1*DOE*JAMES*E***34*103229876
SE*10*0008
ST*834*0009
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*025*20*A***FT
REF*0F*123456789
REF*1L*123456001
DTP*303*D8*19961001
NM1*IL*1*DOE*JAMES*E***34*103229876
SE*11*0009
GE*9*001
IEA*1*000000006
' (CHARACTER)
)
)
)
)
) |
|
Back to top |
|
 |
ein |
Posted: Sun May 31, 2009 11:36 pm Post subject: Re: WTX with WMB |
|
|
Centurion
Joined: 14 Mar 2009 Posts: 108
|
kirank wrote: |
I have installed WTX 8.2 for integration servers with WMB 6.1 toolkit. I am able to see the WTX map node and able to use it. But I have read that there is also WTX parser that comes with it. I can't see the WTX parser in MQ input node is there some additional setup we need to do to see the parser?
I have exported WTX HIPAA pack X12 type tree from WTX and imported that as a message set. When I used that message set to parse X12 834 message using Partner as the Message, I don't see a fully parsed message tree in the Trace node trace file. I have included the trace below. So the questions I have is should I use WTX parser instead message set in MQ input node to parse X12? If yes how to enable that parser? If No then why does the message set does not give a fully parsed tree?
Hello Kirank,
I had the same issue in my project. I could have resolved this in differen way.
Hippa , and X12 for WTX environment So no need to create the message set for WMB. You can parse the input message as BLOB and send it WTX. WTX is able to understand the message what you send. IT does not match the WTX node will throws the error.
Regards
Kiran
['MQROOT' : 0x5e45018]
(0x01000000):Properties = ( ['MQPROPERTYPARSER' : 0x9792fb0]
(0x03000000):MessageSet = 'EDI_X12_MS' (CHARACTER)
(0x03000000):MessageType = '{}:Partner' (CHARACTER)
(0x03000000):MessageFormat = 'Text_X12' (CHARACTER)
(0x03000000):Encoding = 546 (INTEGER)
(0x03000000):CodedCharSetId = 437 (INTEGER)
(0x03000000):Transactional = TRUE (BOOLEAN)
(0x03000000):Persistence = FALSE (BOOLEAN)
(0x03000000):CreationTime = GMTTIMESTAMP '2009-05-30 16:15:49.600' (GMTTIMESTAMP)
(0x03000000):ExpirationTime = -1 (INTEGER)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000):Topic = NULL
(0x03000000):ContentType = '' (CHARACTER)
(0x03000000):IdentitySourceType = '' (CHARACTER)
(0x03000000):IdentitySourceToken = '' (CHARACTER)
(0x03000000):IdentitySourcePassword = '' (CHARACTER)
(0x03000000):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000):IdentityMappedType = '' (CHARACTER)
(0x03000000):IdentityMappedToken = '' (CHARACTER)
(0x03000000):IdentityMappedPassword = '' (CHARACTER)
(0x03000000):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000000):MQMD = ( ['MQHMD' : 0x7eb3008]
(0x03000000):SourceQueue = 'X12.IN' (CHARACTER)
(0x03000000):Transactional = TRUE (BOOLEAN)
(0x03000000):Encoding = 546 (INTEGER)
(0x03000000):CodedCharSetId = 437 (INTEGER)
(0x03000000):Format = ' ' (CHARACTER)
(0x03000000):Version = 2 (INTEGER)
(0x03000000):Report = 0 (INTEGER)
(0x03000000):MsgType = 8 (INTEGER)
(0x03000000):Expiry = -1 (INTEGER)
(0x03000000):Feedback = 0 (INTEGER)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):Persistence = 0 (INTEGER)
(0x03000000):MsgId = X'414d5120574d42365f514d4752202020c990204a20023004' (BLOB)
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):BackoutCount = 0 (INTEGER)
(0x03000000):ReplyToQ = ' ' (CHARACTER)
(0x03000000):ReplyToQMgr = 'WMB6_QMGR ' (CHARACTER)
(0x03000000):UserIdentifier = 'Administrato' (CHARACTER)
(0x03000000):AccountingToken = X'1601051500000081227b35310be8b9b92851ccf401000000000000000000000b' (BLOB)
(0x03000000):ApplIdentityData = ' ' (CHARACTER)
(0x03000000):PutApplType = 11 (INTEGER)
(0x03000000):PutApplName = 'ield\Design\ih03\rfhutil.exe' (CHARACTER)
(0x03000000):PutDate = DATE '2009-05-30' (DATE)
(0x03000000):PutTime = GMTTIME '16:15:49.600' (GMTTIME)
(0x03000000):ApplOriginData = ' ' (CHARACTER)
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):MsgSeqNumber = 1 (INTEGER)
(0x03000000):Offset = 0 (INTEGER)
(0x03000000):MsgFlags = 0 (INTEGER)
(0x03000000):OriginalLength = -1 (INTEGER)
)
)
(0x01000021):MRM = ( ['mrm' : 0x968b6b8]
(0x01000013):Partner = (
(0x01000013):Partner = (
(0x0300000B):Element_9 = 'ISA*00* *00* *ZZ*HEALTHCARE_PS *ZZ*HEALTHCARE_DEV *010806*1200*U*00401*000000006*0*T*' (CHARACTER)
(0x01000013):ISAPartnerInfo = (
(0x0300000B):Auth_0x003C_nInfoQual_0x003C_r = '
GS*BE*PROFSERV*DEVELOPMENT*20010101*120000*001*X*004010X095A1
ST*834*0001
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*021*20*A***FT
REF*0F*123456789
REF*1L*123456001
DTP*356*D8*19960523
NM1*IL*1*DOE*JOHN*P***34*123456789
PER*IP**HP*7172343334*WP*7172341240
N3*100 MARKET ST*APT 3G
N4*CAMP HILL*PA*17011**CY*CUMBERLAND
DMG*D8*19400816*M
HD*021**HLT
DTP*348*D8*19960601
COB*P*890111*5
N1*IN*ABC INSURANCE CO
HD*021**DEN
DTP*348*D8*19960601
HD*021**VIS
DTP*348*D8*19960601
SE*22*0001
ST*834*0002
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*N*19*021*28*A****F
REF*0F*123456789
REF*1L*123456001
DTP*351*D8*19980515
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19770816*M
NM1*M8*2*PENN STATE UNIVERSITY
HD*021**HLT
DTP*348*D8*19960601
SE*15*0002
ST*834*0003
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*021*20*A***FT
REF*0F*202443307
REF*1L*123456001
DTP*356*D8*19960112
NM1*IL*1*SMITH*WILLIAM****34*202443307
PER*IP**HP*7172343334*WP*7172341240
N3*1715 SOUTHWIND AVENUE
N4*ANYTOWN*PA*171110000
DMG*D8*19700614*M
HD*021**HMO
DTP*348*D8*19960601
LX*01
NM1*P3*1*BROWN*BERNARD**DR****25
SE*18*0003
ST*834*0004
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*001*22*A***FT
REF*0F*202443307
REF*1L*123456001
NM1*IL*1*SMITH*WILLIAM****ZZ*2024433307
HD*021**DEN
DTP*348*D8*19960701
SE*12*0004
ST*834*0005
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*001*22*A***FT
REF*0F*202443307
REF*1L*123456001
NM1*IL*1*SMITH*WILLIAM****ZZ*2024433307
HD*024**DEN
DTP*349*D8*19960701
SE*12*0005
ST*834*0006
BGN*00*12456*19980520*1200****2
N1*P5*GENERIC INC*FI*123456789
N1*IN*ABC INSURANCE*FI*654456654
INS*Y*18*001*25*A***FT
REF*0F*123456789
REF*1L*123456001
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19500415*M
NM1*70*1*DOE*JAMES*E
DMG*D8*19500416*M
SE*12*0006
ST*834*0007
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*N*19*024*07*A
REF*0F*123456789
REF*1L*123456001
DTP*357*D8*19960801
NM1*IL*1*DOE*JAMES*E***34*103229876
DMG*D8*19770816*M
SE*12*0007
ST*834*0008
BGN*00*12456*19980520*1200****2
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*024*08*A***TE
REF*0F*123456789
REF*1L*123456001
DTP*357*D8*19961001
NM1*IL*1*DOE*JAMES*E***34*103229876
SE*10*0008
ST*834*0009
BGN*00*12456*19980520*1200****2
REF*38*ABCD012354
N1*P5**FI*999888777
N1*IN**FI*654456654
INS*Y*18*025*20*A***FT
REF*0F*123456789
REF*1L*123456001
DTP*303*D8*19961001
NM1*IL*1*DOE*JAMES*E***34*103229876
SE*11*0009
GE*9*001
IEA*1*000000006
' (CHARACTER)
)
)
)
)
) |
|
|
Back to top |
|
 |
bhumulas |
Posted: Mon Jun 01, 2009 5:42 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2006 Posts: 41
|
use the WTX node in your flow and specify the map name in the WTX node. That would give you parsed message. |
|
Back to top |
|
 |
ein |
Posted: Mon Jun 01, 2009 6:05 am Post subject: |
|
|
Centurion
Joined: 14 Mar 2009 Posts: 108
|
Hello Kirank,
What worte that was missed up with Quote.
I had the same issue in my project. No need to create a message set in WMB. You can the message as BLOB and send it WTX node. Where you have to configure the Map name and their settings. The Map will validte the messge . |
|
Back to top |
|
 |
kirank |
Posted: Mon Jun 01, 2009 8:23 am Post subject: |
|
|
 Centurion
Joined: 10 Oct 2002 Posts: 136 Location: California
|
Yes I have it working with message parsed as BLOB in MQ input and converted to flat file in WTX map node. But There are some cases where the requirements as are as follows
1. Do some validations on X12 message before converting it to flat file.
2. Some of the target systems need the message in X12 format. IF I convert it to Flat fiel format to do validation, I have to convert it back to X12 before sending it to target systems.
So considering these requirements it would be flexible for me if I can parse the X12 using a message set in MQ input node. The X12 message set is created based on export of hipaa type tree from WXT hipaa pack. Hence I had expected the message set to parse the X12 properly.
Regards
Kiran |
|
Back to top |
|
 |
bhumulas |
Posted: Mon Jun 01, 2009 9:07 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2006 Posts: 41
|
I am not sure, how far we can use the messages set imported thru X12 tree.
1) IF you are using WTX map (X12 to flat file), I think you can write validations on WTX maps.
2) You can also export your map as XML schema and (X12 to XML ) XML output map, you can use this XML in your esql to do validations, here again you need to convert XMl to flat file, which you may require another map.
Not sure how far these are helpful. |
|
Back to top |
|
 |
|