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 » Converting Incoming XML message to mqstring?

Post new topic  Reply to topic
 Converting Incoming XML message to mqstring? « View previous topic :: View next topic » 
Author Message
klabran
PostPosted: Thu Jul 08, 2004 11:49 am    Post subject: Converting Incoming XML message to mqstring? Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

I have an incoming XML message that when I browse it in the MQ GUI the text radio button is greyed out and the format is blank....

I then pass this message on after modifying in a compute node to another party. They are receiving an error that the message is not a string.

Can I inside my compute node convert the xml message to an MQSTRING and if so how?

Kevin
Back to top
View user's profile Send private message Visit poster's website
kirani
PostPosted: Thu Jul 08, 2004 12:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Yes, just set the MQMD.Format to MQFMT_STRING in your compute node.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
klabran
PostPosted: Thu Jul 08, 2004 12:25 pm    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

just OutputRoot.MQMD.Format = 'MQFMT_STRING' ?
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu Jul 08, 2004 1:01 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

klabran wrote:
just OutputRoot.MQMD.Format = 'MQFMT_STRING' ?

No.

Code:
 set OutputRoot.MQMD.Format = MQFMT_STRING;

No quotes.
_________________
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 » Converting Incoming XML message to mqstring?
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.