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 » Two Root Elements?!?!

Post new topic  Reply to topic
 Two Root Elements?!?! « View previous topic :: View next topic » 
Author Message
wmqiguy
PostPosted: Wed Sep 22, 2004 7:18 am    Post subject: Two Root Elements?!?! Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

Just started playing with 5.0 and am seeing something that makes me wonder about my install.
I built a simple flow with an Input, compute, and Output node.
The ESQL is:

CREATE COMPUTE MODULE Todd_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CALL CopyEntireMessage();
SET OutputRoot.XML.A.B = 'hmmm';

RETURN TRUE;
END;

CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;

Input Message is:

<A><B>data</B></A>

The output Message is:

<A><B>data</B></A><A><B>hmmm</B></A>


It seems to have built another message alongside the original. For those who are 5.0 heros, please rescue me. Thanks.

Todd
Back to top
View user's profile Send private message
waugh
PostPosted: Wed Sep 22, 2004 7:24 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

looks like its reading your input message in different format...may be a BLOB, thats why adding XML tree under it.
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Wed Sep 22, 2004 7:31 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

Thanks. I'm going to go and have some coffee and try to wake up from my embarrassment.

Todd
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 » Two Root Elements?!?!
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.