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 » Encoding value in MRM XML Message

Post new topic  Reply to topic
 Encoding value in MRM XML Message « View previous topic :: View next topic » 
Author Message
ssm2481
PostPosted: Thu Oct 18, 2007 1:55 am    Post subject: Encoding value in MRM XML Message Reply with quote

Newbie

Joined: 18 Oct 2007
Posts: 1
Location: Bengalooru

Hi,
I am using WMB V6.0.2 toolkit for development.
We are having a message set in MRM domain and the physical format is XML. Message flow constructs a message according to this message set and puts it into a queue. We need to set encoding in the message along with the version. I am able to get the version and its value in the output message. But not able to produce encoding attribute with custom value (Not the one which will be generated automatically by the message set).

I tried to use below lines of code in my esql file...

Code:
SET OutputRoot.MRM.(XML.XmlDecl).(XML."Encoding") = 'UTF-8';


But when i write this code and try to save the file the toolkit hangs saying "Building workspace"... and it will not come out.

Can anyone tell me how to set custoised value in the encoding field instead of "ibm-850_P100-1995"...

Thanks in advance
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Oct 18, 2007 2:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

First off, that code is entirely wrong. You can not use those constants that belong to the XML/XMLNS domain with the MRM domain.

Second, if you need to set the encoding in an MRM message, then you should be able to set this property on the message set.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Oct 18, 2007 7:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Use the Search button and search for for 'MRM encoding' on this forum.
If you really need to control the output XML precisely, maybe you should be using XMLNSC.
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 » Encoding value in MRM XML Message
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.