|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MRM error with message set |
« View previous topic :: View next topic » |
Author |
Message
|
jbanoop |
Posted: Sat Aug 19, 2006 11:46 pm Post subject: MRM error with message set |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
Hi All,
We are facing a strange problem here.
The env:
MB 5 CSD 5 on AIX.
We have a message set modelled for an incoming XML message.
Another flow generates the message for the flow under discussion. The input node reads it as XML domain and later down the flow, the bitstream is constructed using ASBITSTREAM and then the CREATE - PARSE is called to convert it to MRM.
This is giving an error 'Invalid member of content validation - closed'. However if I stop the second flow and read the message submitted by the first flow using RFHUTIL and then start the second flow (the one that has the CREATE-PARSE) then it works fine without any errors.
If anybody has faced this problem do help. Also how do we know from the MRM error which element parsing threw the content validation error.
Any help is appriciated.
Regards,
Anoop |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Aug 20, 2006 6:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can usually tell from a trace of the message which field the trace stopped at.
You can also usually tell from the error message/exception list which field the problem occured at.
Also, if the steps you're taking with RFHUTIL really really do fix the problem, then likely you're doing a CONVERT and changing or adding/removing line endings from the XML data. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jbanoop |
Posted: Sun Aug 20, 2006 8:50 am Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
Hi,
do find below the trace of the incoming message that is working (first) ans the incoming message that is failing (second).
Sorry for the long trace, hope someone has the patience to have a look at it
Working msg
---------------
x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-08-20 16:39:08.400'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'PAYMENT.NOTIFICATION.REQUEST'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = ' '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d512045454158303133492020202044a7abe7201cfd05'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = 'TEST.OUT '
(0x03000000):ReplyToQMgr = 'EEAX013I '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'16010515000000f89fb474b1559c0f43170a32f503000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = ' '
(0x03000000):PutDate = DATE '2006-08-20'
(0x03000000):PutTime = GMTTIME '16:39:08.400'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):EE_EAI_MESSAGE = (
(0x02000000): = '
'
(0x01000000):EE_EAI_HEADER = (
(0x02000000): = '
'
(0x01000000):MsgFormat = (
(0x02000000): = 'CORPORATE_PAYMENT'
)
(0x02000000): = '
'
(0x01000000):MsgVersion = (
(0x02000000): = '0000'
)
(0x02000000): = '
'
(0x01000000):RequestorChannelId = (
(0x02000000): = 'CRM'
)
(0x02000000): = '
'
(0x01000000):RequestorChannelFunction = (
(0x02000000): = 'Func'
)
(0x02000000): = '
'
(0x01000000):RequestorUserId = (
(0x02000000): = 'db2admin'
)
(0x02000000): = '
'
(0x01000000):RequestorLanguage = (
(0x02000000): = 'E'
)
(0x02000000): = '
'
(0x01000000):RequestorSecurityInfo = (
(0x02000000): = 'secure'
)
(0x02000000): = '
'
(0x01000000):ReturnCode = (
(0x02000000): = '0000'
)
(0x02000000): = '
'
)
(0x02000000): = '
'
(0x01000000):ReferenceNumber = (
(0x02000000): = 'PAYREF_NEG_00104'
)
(0x02000000): = '
'
(0x01000000):DealerID = (
(0x02000000): = '111111'
)
(0x02000000): = '
'
(0x01000000):ShopID = (
(0x02000000): = '111111'
)
(0x02000000): = '
'
(0x01000000):AgentID = (
(0x02000000): = 'MMKHALID'
)
(0x02000000): = '
'
(0x01000000):PaymentType = (
(0x02000000): = '01'
)
(0x02000000): = '
'
(0x01000000):PaymentMode = (
(0x02000000): = '01'
)
(0x02000000): = '
'
(0x01000000):PaymentCategory = (
(0x02000000): = 'Corporate'
)
(0x02000000): = '
'
(0x01000000):PaymentAgainst = (
(0x02000000): = 'LineLevel'
)
(0x02000000): = '
'
(0x01000000):MethodofPay = (
(0x02000000): = 'Highest'
)
(0x02000000): = '
'
(0x01000000):AccountNumber = (
(0x02000000): = '10001306681238'
)
(0x02000000): = '
'
(0x01000000):BillNumber =
(0x02000000): = '
'
(0x01000000):LineNumber =
(0x02000000): = '
'
(0x01000000):Amount = (
(0x02000000): = '3434'
)
(0x02000000): = '
'
(0x01000000):PaymentDateTime = (
(0x02000000): = '20060816180057'
)
(0x02000000): = '
'
(0x01000000):Comments = (
(0x02000000): = 'MKHALID TEST'
)
(0x02000000): = '
'
)
)
)
failing msg
-------------
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-08-20 16:39:08.400'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'414d512045454158303133492020202044a7abe7201cb822'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'CORPORATE.LINE.SERVICE.INQUIRY.REPLY'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 1
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d512045454158303133492020202044a7abe7201cb822'
(0x03000000):CorrelId = X'414d512045454158303133492020202044a7abe7201cb822'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = 'CORPORATE.PAYMENT.CONFIRM'
(0x03000000):ReplyToQMgr = 'EEAX013I '
(0x03000000):UserIdentifier = 'mqm '
(0x03000000):AccountingToken = X'16010515000000f89fb474b1559c0f43170a32f503000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = ' '
(0x03000000):PutDate = DATE '2006-08-20'
(0x03000000):PutTime = GMTTIME '16:39:08.400'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):EE_EAI_MESSAGE = (
(0x01000000):EE_EAI_HEADER = (
(0x01000000):MsgFormat = (
(0x02000000): = 'Payment_Not'
)
(0x01000000):MsgVersion = (
(0x02000000): = '0000'
)
(0x01000000):RequestorChannelId = (
(0x02000000): = 'CRM'
)
(0x01000000):RequestorChannelFunction = (
(0x02000000): = 'Func'
)
(0x01000000):RequestorUserId = (
(0x02000000): = 'db2admin'
)
(0x01000000):RequestorLanguage = (
(0x02000000): = 'E'
)
(0x01000000):RequestorSecurityInfo = (
(0x02000000): = 'secure'
)
(0x01000000):ReturnCode = (
(0x02000000): = '0000'
)
)
(0x01000000):ReferenceNumber = (
(0x02000000): = 'PAYREF_NEG_00104'
)
(0x01000000):DealerID = (
(0x02000000): = '111111'
)
(0x01000000):ShopID = (
(0x02000000): = '111111'
)
(0x01000000):AgentID = (
(0x02000000): = 'MMKHALID'
)
(0x01000000):PaymentType = (
(0x02000000): = '01'
)
(0x01000000):PaymentMode = (
(0x02000000): = '01'
)
(0x01000000):AccountNumber = (
(0x02000000): = '10001306681238'
)
(0x01000000):BillNumber = (
(0x02000000): = ''
)
(0x01000000):LineNumber = (
(0x02000000): = ''
)
(0x01000000):Amount = (
(0x02000000): = 3434.000
)
(0x01000000):PaymentDateTime = (
(0x02000000): = '20060820193910184'
)
(0x01000000):Comments = (
(0x02000000): = 'test'
)
)
)
)
Regards,
Anoop |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Aug 20, 2006 11:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
This is giving an error 'Invalid member of content validation - closed' |
Usually when we get this it means that the namespace was not right or the tag had a typo in it.
Hope it helps some.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Mon Aug 21, 2006 12:38 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Jeff said:
Quote: |
Also how do we know from the MRM error which element parsing threw the content validation error. |
If you can't find the error in the system error log, switch on user trace while the message is being processed, and look for 'BIP5371' in the trace output. ( by the way, it saves time if you quote the BIP number of any errors which you post on this forum ). |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|