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 » Auditing (length of XML message) in trace node

Post new topic  Reply to topic
 Auditing (length of XML message) in trace node « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Sat Dec 09, 2006 9:26 pm    Post subject: Auditing (length of XML message) in trace node Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

My requirement is such that, the flow has to recrod the of the length of the message which is in XML format. I tried the following pattern in tracenode, but doe not work. it returns NULL in the log file.

Quote:

LENGTH(Root.BLOB.BLOB)}



I would appreciate any help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Dec 10, 2006 6:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If the data is in XML Format, then there won't be a BLOB parser tree, nor a BLOB child node under that parser tree.

Unless you have coded specific things to make that happen. This is usually done with ASBITSTREAM.

You can not inquire of a message tree how long it is, in general.

Several other people have asked "How do I find out how long an XML document is, including the tags". I can't recommend a good search to find them, as there probably isn't one. Most of those original posters were not very clear on their questions.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Sun Dec 10, 2006 7:28 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Jeff,

Thank you very much for your clear and explanatory answer. I would appreciate it.

That means, we have to rely on validation ( though not the same - by creating a predefined Message Format ) for the auditing of the xml message. Or is there any better method?

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Dec 10, 2006 9:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I do not understand what you're asking.

If you wish to validate that a message against some arbitrary set of constraints in WMB, then yes you need to model the data and include those constraints.

This appears to have nothing to do with getting the length of the bitstream that represents an XML document.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Auditing (length of XML message) in trace node
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.