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 » Doubt in Repeating structures

Post new topic  Reply to topic
 Doubt in Repeating structures « View previous topic :: View next topic » 
Author Message
thiruveragam
PostPosted: Sat Sep 24, 2005 11:17 pm    Post subject: Doubt in Repeating structures Reply with quote

Newbie

Joined: 24 Sep 2005
Posts: 5

Hi,

I am using WBIMB v5.

Have a flow that takes a CWF message and converts into XML.

1)The incoming message may have a repeating structure. How do i specify this in the CWF message set ?

2) Also , after the message has been parsed by the CWF how do i find out the number of times that structure has been repeated in the incoming message ?


Thanks in advance.
Back to top
View user's profile Send private message
recallsunny
PostPosted: Sun Sep 25, 2005 5:52 am    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

Im sure they have been a lot of threads here with this topic, so look around.

But just in case you dint find the answer, If CWF has repeating structure, you will need to set either the Repeat Reference(dynamic) or Repeat count(static) fields to indicate the no.of child to parser.

If you are not able to provide either of this, then you should plan to build a TDS model, check for the IBM support pacs for examples of MRM message sets.
Back to top
View user's profile Send private message
thiruveragam
PostPosted: Wed Sep 28, 2005 1:47 am    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2005
Posts: 5

Hi,

Thanks for your reply.
I have a message that has the following structure:


Header
Body
Trailer


The Body may repeat.
I created a CWF MRM, with Header, Body and Trailer as different types.
When i set the Max.Occurs of Body to -1, i get a warning saying that the Complex Type model has a Child Model with maxOccurs set to something other than 1.

Can somebody help, pls ?


[/b]
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 28, 2005 2:18 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Please give more information about your input message.
- How are the repeats of Body identified? Do they have a tag?
- How did you expect the MRM parser to parse your message?

Please post the full text of the error message accurately ( the message you quoted in your last post is incorrect ).
Back to top
View user's profile Send private message
thiruveragam
PostPosted: Wed Sep 28, 2005 2:30 am    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2005
Posts: 5

Hi Kimbert,

Thanks for your response.

Actually I am getting a Fixed Length message in which the Body repeats.
I need to convert this message into XML format and output into a Q.


And what i am getting is the following WARNING message not ERROR:


Warning Complex Type Definition 'Body' has a child model group with minOccurs or maxOccurs set to something other than 1, which is not supported and will be ignored by the broker. Items.mxsd


I am using WBIMB5.0.4

Thanks ![/b]
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 28, 2005 3:04 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Is there a repeat count before the body? If not, you will need to write some ESQL.
Back to top
View user's profile Send private message
javaforvivek
PostPosted: Wed Sep 28, 2005 8:24 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Kimbert wrote:
Quote:
Please give more information about your input message.
- How are the repeats of Body identified? Do they have a tag?


We want the structure of the input message, and may be you can try to define your message as TDS rather than CWF.. but still..
we want more info about your message...
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Doubt in Repeating structures
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.