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 TO CWF Repeating element.

Post new topic  Reply to topic
 XML TO CWF Repeating element. « View previous topic :: View next topic » 
Author Message
waugh
PostPosted: Tue Mar 09, 2004 1:35 pm    Post subject: XML TO CWF Repeating element. Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

I have a message like,

<Reservations>
.
.
.
<Classes>
<Class>xyz</Class>
<id>1</id>
<start>2004-04-04</start>
<end>2004-04-04</end>
</Class>
<Classes>
<Class>xyz</Class>
<id>2</id>
<start>2004-05-05</start>
<end>2004-05-05</end>
</Class>
</Classes>
</Reservations>

I am converting above XML message in to CWF format...

I have created message set and after transformation i can see all the values in MRM structure, under classes, i can see 2 classes...

but, once it puts on the output queue, i can see only one class data, second one is not there...there was no exception...

i ran debug on esql too, it went thru the loop twice and copied values into correct fields into MRM structure.

I have the class complex type occurence set to 10 WHERE I AM SENDING ONLY 2, so thats not the problem...

Please let me know if i need to set any other property....

Thanks in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 09, 2004 2:30 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are there any errors in your system log?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Missam
PostPosted: Tue Mar 09, 2004 3:01 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

May be you are overwriting the previous values with the new ones in the while loop.check your ESQL code.And if poosible can you print your compute node here.
Back to top
View user's profile Send private message
waugh
PostPosted: Wed Mar 10, 2004 6:07 am    Post subject: Thanks Jeff&Sam Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

There was no errors in system log..
I changed the Min. Occurs of class element to 10 and left max. occurs 10 as it is.... and added spaces for the occurences not there in input..it worked..

Cheers
--Waugh
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 TO CWF Repeating element.
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.