Author |
Message
|
narendra68 |
Posted: Wed Jan 12, 2005 2:12 pm Post subject: Need to get MQ Error Code |
|
|
Apprentice
Joined: 17 Nov 2004 Posts: 30
|
Hi Gurus,
I have created a message flow validate the XML message against the XML Schema.
When there is error in XML, I want to capture the error and write to the error queue for further processing.
But what I am getting is a error code 5367 like this not as MQ001 and the error message does not include what field the error is in.
What do I need to do to get the error code MQ001 instead 5367 and to get the proper error message with the field name.
Thanks in advance
Narendra _________________ Narendra |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jan 12, 2005 2:17 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
That is not an MQ Error, So I dont think you will get an MQ error Code. Look up the application log for the errors. _________________ -Ratan |
|
Back to top |
|
 |
JT |
Posted: Wed Jan 12, 2005 2:22 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
That appears to be a broker error:
Quote: |
BIP5367
Severity
20 : Error
Message
Message Validation failure. Invalid value for element <insert_0>. The value <insert_1> is not in the list of allowed values.
Explanation
The value for the element in the message is not one of the enumeration values specified for the element.
Response
Modify the message set or messageflow and redeploy to the broker or modify the input message and resubmit to the broker.
See following the messages for more details. |
|
|
Back to top |
|
 |
JT |
Posted: Wed Jan 12, 2005 2:30 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
But what I am getting is a error code 5367 like this not as MQ001 and the error message does not include what field the error is in. |
How are you obtaining the 5367 error code?
Are you extracting it from the ExceptionList? |
|
Back to top |
|
 |
narendra68 |
Posted: Wed Jan 12, 2005 2:47 pm Post subject: |
|
|
Apprentice
Joined: 17 Nov 2004 Posts: 30
|
yes _________________ Narendra |
|
Back to top |
|
 |
JT |
Posted: Wed Jan 12, 2005 3:49 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
To the best of my knowledge, there is no error code analyzer available for BIP errors, during run-time or otherwise.
However, if you're extracting the error code from the ExceptionList tree, through the Number element, then there is also a brief description of that error available via the Text element. It's not the same descriptive error message available through the manuals/help, but it does provide some clarity as to the error code.
Also, in some cases the Insert elements in the ExceptionList provide additional details. For MRM parsing errors, some inserts will identify the element in error. Not sure if that is true for XML parsing errors. |
|
Back to top |
|
 |
|