|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML TO CWF Repeating element. |
« View previous topic :: View next topic » |
Author |
Message
|
waugh |
Posted: Tue Mar 09, 2004 1:35 pm Post subject: XML TO CWF Repeating element. |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Mar 09, 2004 2:30 pm Post subject: |
|
|
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 |
|
 |
Missam |
Posted: Tue Mar 09, 2004 3:01 pm Post subject: |
|
|
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 |
|
 |
waugh |
Posted: Wed Mar 10, 2004 6:07 am Post subject: Thanks Jeff&Sam |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|