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 » XML header in MRM domain

Post new topic  Reply to topic
 XML header in MRM domain « View previous topic :: View next topic » 
Author Message
BPeter
PostPosted: Fri May 10, 2002 12:50 am    Post subject: Reply with quote

Newbie

Joined: 09 May 2002
Posts: 1

Hi,

In my Compute node I've got to produce an XML output message. I have defined a message set with MRM domain and XML physical format. The message body is OK, but i'd have to make an xml header such like that:

<?xml version="1.0" encoding="ISO-8859-2" standalone="no"?>

I can set the version and standalone parameters to be there, in the Poperties panel of the XML physical format. But how can i put the encoding there?

In my compute node i use references like:
"OutputRoot"."MRM"."Name", etc.

it works correct, till i add the following code to generate the xml-header
SET OutputRoot.XML.(XML.XmlDecl) = '';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML."Encoding") = 'ISO-8859-2';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Standalone) = 'no';

then it comes back with an exception:
"No valid body of the document could be found."

Is there any way to put the 'encoding' to my xml-header?

Thanks in advance.

Peter
Back to top
View user's profile Send private message Send e-mail
CodeCraft
PostPosted: Fri May 17, 2002 2:38 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

You cannot mix messages from different domains (MRM and XML) in a single compute node.

Do your MRM stuff first, then recast from MRM-XML to generic XML using an RCD node and see can you then add the required XML declarations in a subsequent compute node.
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 » XML header in MRM domain
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.