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 » Reading XML message in MQSI

Post new topic  Reply to topic
 Reading XML message in MQSI « View previous topic :: View next topic » 
Author Message
laddha
PostPosted: Sun Apr 27, 2003 9:37 pm    Post subject: Reading XML message in MQSI Reply with quote

Apprentice

Joined: 20 Mar 2003
Posts: 27

Hi,
My incoming msg is like this:
1.
<?xml version='1.0'?>
<data><name>asdfg</name></data>

Is it ok so that I can read it in a Compute node?
I am confused whether message should contain only data elements like this:
2.
<data><name>asdfg</name></data>


So, will compute node requires format 1 or format 2?

Pls let me know ASAP.
Thanks,
Prasanna
Back to top
View user's profile Send private message
viper
PostPosted: Sun Apr 27, 2003 11:09 pm    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2003
Posts: 2

the integrator needs the xml declaration to be able to parse the message .
So ur first format would be the one to use.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Mon Apr 28, 2003 1:13 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

In case of simple XML messages like this you can ignore XML version.

MQSI will use default value when parse the message.

Use XML declaration when you need to specify version, encoding etc.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
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 » Reading XML message in MQSI
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.