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 » How to include XML prolog tag in output message

Post new topic  Reply to topic
 How to include XML prolog tag in output message « View previous topic :: View next topic » 
Author Message
venugp
PostPosted: Sun Sep 22, 2002 5:44 am    Post subject: How to include XML prolog tag in output message Reply with quote

Apprentice

Joined: 03 Sep 2002
Posts: 31

The output message from MQSI does not show XML prolog tag
<?xml version="1.0" encoding="UTF-8" ?> How can i inlcude in my output message, is there any settings in message flow or should i do any additional coding for that.
Any help is appreciated.
Thanks,
venu.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 22, 2002 8:57 am    Post subject: Reply with quote

Jedi Knight

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

Venu,

You could use following ESQL code to generate XML header.
Code:

SET OutputRoot.XML.(XML.XmlDecl) = '';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML."Encoding") = 'UTF-8';

_________________
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
venugp
PostPosted: Sun Sep 22, 2002 12:37 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Sep 2002
Posts: 31

Kiran,
Thanks for your reply.
I think i have to handle some exceptions so far i have been working on msgflows conversion, if you any good ideas about handling of errors and exceptions in real time please help me out.
Thank you again,
venu.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Sep 22, 2002 1:11 pm    Post subject: Reply with quote

Jedi Knight

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

Venu,

Please refer to following thread for Error Handling info in WMQI.

http://www.mqseries.net/phpBB2/viewtopic.php?t=4042&highlight=error
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to include XML prolog tag in output 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.