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 » Parsing MIME data

Post new topic  Reply to topic
 Parsing MIME data « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Thu Nov 19, 2009 3:52 am    Post subject: Parsing MIME data Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I have a scenarion where in i receive MIME data through my MQInput. The MIME data has two parts in it.

I have a compute node after my MQInput and need to parse/read the BLOB data from the first part of the MIME data and store in a BLOB variable.

How do i do this? i tried parsing like,
InputRoot.MIME.Parts.Part[1].Data.BLOB, but was not able to get that BLOB data into the variable. The variable had NULL in it. Any help is of great use.

- Kashyap.
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Thu Nov 19, 2009 4:11 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30000_.htm

shall help


_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
mgk
PostPosted: Thu Nov 19, 2009 4:30 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

I think you want to use:

InputRoot.MIME.Parts.Part[1].Data.BLOB.BLOB

as the second BLOB element is where the data is. Using a trace node would should you the structure of the message...

Kind 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
agrawalamit166
PostPosted: Thu Nov 19, 2009 11:42 am    Post subject: Reply with quote

Voyager

Joined: 17 Aug 2009
Posts: 78
Location: NY, US

If you want, You can convert your BLOB data in XMLNSC and do whatever you want.........


for example:
REATE LASTCHILD OF OutputRoot DOMAIN('XMLNSC') PARSE(InputRoot.MIME.Parts.Part[1].Data.BLOB.BLOB
, InputProperties.Encoding, InputProperties.CodedCharSetId);
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing MIME data
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.