Author |
Message
|
vikas.bhu |
Posted: Fri Jul 15, 2016 2:30 am Post subject: In failure terminal I can see XML till it is parsed |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
Hi,
I am using IIB 10 and I can see that in case of failure ,
Message in failure terminal is having only till those XML tags till it is parsed successfully under XMLNSC Domain .
Pls suggest. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Jul 15, 2016 3:13 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What is actually wrong?
What were you expecting to see?
How are you looking at the Message?
Are you examining the InputRoot?
What else do you need to know?
Do you want to know the reason for the failure? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
vikas.bhu |
Posted: Fri Jul 15, 2016 3:34 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
Actually it is simple ....
xml is comming in input which is not well formed ..now if we are parsing with XMLNSC domain then till that XML is well formed can be seen in Failure terminal. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Jul 15, 2016 11:16 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Good. You have identified the cause of the problem
Have you gone to the originators of the data and told them of the problem?
Have you validated the Input XML so that you can show them where the problem lies?
If not, what are you going to do about it?
AND
what do you want from us? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 15, 2016 12:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vikas.bhu wrote: |
Actually it is simple ....
xml is comming in input which is not well formed ..now if we are parsing with XMLNSC domain then till that XML is well formed can be seen in Failure terminal. |
And?
What else were you expecting?
Are you asking any questions here or just commenting? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Jul 16, 2016 11:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If the XML is coming in malformed, why do you need to do anything about it? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Jul 16, 2016 10:53 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
If the XML is coming in malformed, why do you need to do anything about it? |
I get the feeling that a 'magic wand' is expected to be waved and that will fix the malformed input message.
Let us see what the OP says (if anything) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
vikas.bhu |
Posted: Thu Jul 21, 2016 1:57 am Post subject: |
|
|
Disciple
Joined: 17 May 2009 Posts: 159
|
I partially lost my message ....Which I was not expecting...Even that is in any format. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jul 21, 2016 3:47 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Ah. I understand.
You did not lose your message. AFAIK, what you are seeing is the bit of it that has been parsed. You can set what happens during parsing in the node that starts the flow.
Stop using the debugger, add a trace node to your failure terminal, set it to output ${Root} and then use usertrace to capture and report the passage of your data through the flow.
It does seem that your input data is not valid XML so have you tried validating it using one of the free validators on the Internet? These can help you know. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 21, 2016 5:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
On the failure terminal of the input node, add a ResetContentNode and change the domain to BLOB. This should then give you the full message.
However you may still have to cast it to char to make it readable... It should help you see what is wrong with the XML...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|