ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » In failure terminal I can see XML till it is parsed

Post new topic  Reply to topic
 In failure terminal I can see XML till it is parsed « View previous topic :: View next topic » 
Author Message
vikas.bhu
PostPosted: Fri Jul 15, 2016 2:30 am    Post subject: In failure terminal I can see XML till it is parsed Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Jul 15, 2016 3:13 am    Post subject: Reply with quote

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
View user's profile Send private message
vikas.bhu
PostPosted: Fri Jul 15, 2016 3:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Jul 15, 2016 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Jul 15, 2016 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Sat Jul 16, 2016 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sat Jul 16, 2016 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
vikas.bhu
PostPosted: Thu Jul 21, 2016 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Thu Jul 21, 2016 3:47 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 21, 2016 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » In failure terminal I can see XML till it is parsed
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.