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 » Problem with NEON output Formatter

Post new topic  Reply to topic
 Problem with NEON output Formatter « View previous topic :: View next topic » 
Author Message
Missam
PostPosted: Mon Jan 12, 2004 4:10 pm    Post subject: Problem with NEON output Formatter Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi
i have input xml message which needs to be converted to output neon formatter message
my input looks like
Code:

<message>
    <message1>
     ......
     ......
    </message1>
    <message2>
    ........
    ........
    </message2>
    .......
    ......
</message>

and my output formatter looks like this
Code:

<mymsg>
    <mymsg1>  {Repeat}    --OC
        --seg1
        --seg2
        --seg3    {repeat}   --OF
        --seg4

the problem is seg3 is repeating but mymsg1 is not repeating in my output message .

Any Help will be appreceated..
Thanx
sam
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Jan 12, 2004 4:43 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What version of WMQI. Which domain are you using: NEON or NEONMSG.

Have you got the NNSY-XML-repeating="true" attributes set for each repeat.

Look in the Working with Messages manual (the -02 level as a minimum)to see where these are needed.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Missam
PostPosted: Mon Jan 12, 2004 9:06 pm    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi Eddie,
Thanx for your reply,
I'm using WMQI 2.1 csd 2 and i'm using NEONMSG.
I didn't set NNSY-XML-repeating = true attribute.
by the way in "working with messages manual" it says we have to manually edit the incoming XML message to insert this attribute.
Is that mean that we process the incoming XML to add this attribute for every reating part and then parse with NEONMSG parser.will this impact the performace of the broker if the volume of imcoming message is high.suppose my message contains more repeating compound elements
do i need to add this attribute to each compound element just as show below
Code:

<message>
   <message1>
        <message2>......</message2>
        <message2>.......</message2>
        .........
        ........
      </message1>
      <message1>
         <message2>......</message2>
        <message2>.......</message2>
        .........
        ........
      </message1>
</message>
 


do i need to edit like this

Code:

<message>
   <message1 NNSY-XML-repeating="true">
        <message2 NNSY-XML-repeating="true">......</message2>
        <message2 NNSY-XML-repeating="true">.......</message2>
        .........
        ........
      </message1>
      <message1 NNSY-XML-repeating="true">
         <message2 NNSY-XML-repeating="true">......</message2>
        <message2 NNSY-XML-repeating="true">.......</message2>
        .........
        ........
      </message1 >
</message>


Thanx
Sam
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 13, 2004 9:40 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

When they say "manually edit the incoming XML message to insert this attribute", what they really mean, is build the XML that's input to the NEONMSG 'parse' to include the attribute.

What you've suggested looks correct to me.

I wouldn't have though that adding a single SET statement to each repeating element would impact the flow that much.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Problem with NEON output Formatter
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.