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 » ASBITSTREAM--->PARSE Research

Post new topic  Reply to topic
 ASBITSTREAM--->PARSE Research « View previous topic :: View next topic » 
Author Message
mqmaniac
PostPosted: Tue Jun 27, 2006 7:35 pm    Post subject: ASBITSTREAM--->PARSE Research Reply with quote

Master

Joined: 27 Dec 2005
Posts: 201

Hello All,

I am confused with the following..

When I Serialize my message(XML Message) using ASBITSTREAM function and store it in the Database.Its stored as a BLOB..According to the Manuals.

Pls Correct me ..

1.Since the Broker inserted this Message using its own parsers..
Is it possible for any other application to retrieve the Message in the Database as XML?

2.Or Should I Only use the "PARSE Clause" to Read the BLOB from the Database and Hope to Get My Initial XML Back?I am Wondering If Broker inserts some CRYPTO Codes into this Message.. Inserting so that ONLY Broker knows what exactly Is the BLOB????

HOW DOES A PARSE CLAUSE KNOW ABOUT THE DIFFERENT TAGS IN AN XML MESSAGE EVEN THOUGH ITS READING A BLOB Message???

I Feel that Broker is hiding Details from the User..When It Inserts Data in a database and Retrives...(This is Only with BITSTREAMS)
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jun 28, 2006 12:44 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Is it possible for any other application to retrieve the Message in the Database as XML?
XML is XML, so any XML parser can read it. However, depending on how you serialized the message, it might have one or more headers before the start of the XML data.
Quote:
I am Wondering If Broker inserts some CRYPTO Codes into this Message.. Inserting so that ONLY Broker knows what exactly Is the BLOB????
No it does not. The broker development team have got better things to spend their time on!

The broker is not doing anything surprising - the bitstream created by ASBITSTREAM is standard XML text. When you re-parse it using CREATE...PARSE the XML parser simply parses the text. ( in other words, it might be called a BLOB in your database, but it is valid text as far as the parser is concerned ).

If you don't believe me, inspect the contents of the database table.
Back to top
View user's profile Send private message
mqmaniac
PostPosted: Wed Jun 28, 2006 8:14 am    Post subject: Reply with quote

Master

Joined: 27 Dec 2005
Posts: 201

Thanks Kimbert..


The BROKER is only Serializing/De Serializing the Data as BLOB..But Its always XML Data out there..

I am clear now..
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Jul 04, 2006 6:07 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Just to add a little more to what Tim already said:

Quote:
HOW DOES A PARSE CLAUSE KNOW ABOUT THE DIFFERENT TAGS IN AN XML MESSAGE EVEN THOUGH ITS READING A BLOB Message


It knows because you tell it in the DOMAIN clause of the CREATE ... PARSE statement.


Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » ASBITSTREAM--->PARSE Research
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.