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 » Formatting the Output

Post new topic  Reply to topic
 Formatting the Output « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Wed Feb 14, 2007 11:27 am    Post subject: Formatting the Output Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I'm trying to get this in the output

<?xml version="1.0" encoding="ISO-8859-2">
<Mensaje>
.......
........
</Mensaje>

I don't know how to get the first line (in red)

I have done the following if the message domain is XML

SET OutputRoot.XML.(XML.XmlDecl)='';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version)='1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML."Encoding")='ISO-8859-2';

For Message Domain =MRM what should i need to get the encoding="ISO-8859-2".
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 14, 2007 11:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please don't use the XML domain.

Quote:
For Message Domain =MRM what should i need to get the encoding="ISO-8859-2".


Please get training on Message Broker.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ad09260_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vsr
PostPosted: Wed Feb 14, 2007 12:58 pm    Post subject: Reply with quote

Centurion

Joined: 04 Apr 2006
Posts: 104

As Jeff mentioned and assuming MB V6 ,

Set 'XML Encoding' in the Physical properties of the Message Set to 'As document text' ( make sure that you didn't select 'Supress XML Declaration' option )

Broke should generate the Encoding values in the output XML tree or else you can use XMLNS domain
Back to top
View user's profile Send private message
broker_new
PostPosted: Wed Feb 21, 2007 10:55 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Set 'XML Encoding' in the Physical properties of the Message Set to 'As document text'..

I have done that and deployed to the broker but iam getting
encoding as encoding="ibm-437_P100-1995"?
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 21, 2007 1:59 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Are you certain that the code page which you have set for the output message is equivalent to ISO 8859-2. This help topic http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.eb.doc/ac00408_.htm seems to put them in different categories.
At the end of the day, the only way to control the Encoding attribute emitted by the MRM XML parser is to fiddle with the output CCSID. If that is not enough, you could always try using XMLNSC ( assuming that you do not need to validate your message ).
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Feb 22, 2007 7:43 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I have set the CCSID to 819 in the MQMD .

It Worked well.

Thanks .
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 22, 2007 1:40 pm    Post subject: Reply with quote

Grand High Poobah

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

broker_new wrote:
I have set the CCSID to 819 in the MQMD .

It Worked well.

Thanks .
What is more important is the value you set it to in the OutputRoot.Properties....
_________________
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 » Formatting the Output
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.