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 » Exceptions in Handling BLOB messages.....

Post new topic  Reply to topic
 Exceptions in Handling BLOB messages..... « View previous topic :: View next topic » 
Author Message
PS
PostPosted: Mon Jun 18, 2007 4:14 am    Post subject: Exceptions in Handling BLOB messages..... Reply with quote

Newbie

Joined: 14 Jun 2007
Posts: 9

I am putting an Input message "Input Message" into the input queue and trying to extract it from the BLOB domain.I am trying to make a XML output message out of that as below:

SET var = CAST(InputRoot.BLOB."BLOB" AS CHAR CCSID 500);
SET OutputRoot.XML."NAME" = var;

But the O/P message is printed as below:
<NAME>X&apos;496e707574204d657373616765&apos;</NAME>

Tell me the correct CCSID i should use for WINDOWS???
Why the parsers is not able to identify the format?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 18, 2007 4:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to use the CCSID of the message that came in, not a specific CCSID of the platform you're running on.

That is, the CCSID needs to be the one that the BLOB data actually is.

Also, please use XMLNS or XMLNSC, and not XML.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 18, 2007 12:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Last but not least you are putting an XML formatted text into an xml element. The broker works as designed.
If you want your BLOB to be recognized as XML you cannot just move it there.
You must PARSE it there.

Check out the CREATE PARSE command...

Enjoy

And if you want to keep it as readable CDATA you may have to convert the BLOB to CHAR and back to BLOB.(CCSID conversion from input to CHAR to output)...
_________________
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 » Exceptions in Handling BLOB messages.....
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.