How to break the load XMl

Hi all
I have a requirement where I have to break the message entering into parts, where each part will be sent to the JMS queue as a single message.

For ex:

I currently get following output as a service
< ns1:ABCdataCollection >
< ns1:ABCdata >
< ns1:JobId > 8786 < / ns1:JobId >
daliya < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< ns1:ABCdata >
< ns1:JobId > 8787 < / ns1:JobId >
bath < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< ns1:ABCdata >
< ns1:JobId > 8788 < / ns1:JobId >
Castillo < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< ns1:ABCdata >
< ns1:JobId > 8789 < / ns1:JobId >
Delahaye < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< ns1:ABCdata >
< ns1:JobId > 8790 < / ns1:JobId >
eeeeeee < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< / ns1:ABCCollection >

and now I must break this message in a way that
******************
< ns1:ABCdataCollection >
< ns1:ABCdata >
< ns1:JobId > 8786 < / ns1:JobId >
daliya < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< / ns1:ABCdataCollection > will be sent as a message in the JMS queue 1 and
******************
< ns1:ABCdataCollection >
< ns1:ABCdata >
< ns1:JobId > 8787 < / ns1:JobId >
bbbbbbb < ns1:Message > < / ns1:Message >
< / ns1:ABCdata >
< / ns1:ABCdataCollection > will be sent as message 2 and he followed. Can you guys let me know, what kind of processing I can use here?


Thank you

And that you pass as the input... I'm guessing that you spend the entire load as input...
If Yes, then you will always get the first element...
you have two options here...

(1) your you change the entry of transformation so that it accepts that the entrance is the only unit of

8786
Sandrine

and the GET the desired output
.. u must send the entry under tns:getReportMetadataResponse/back/ns0:ReportMetadataCollection / ns0:ReportMetadata / ns0:ABCData [$CounterVariable]

(2) change the transformation to accept a number as an input parameter and then your transformation should look like:-pass the $Counter also as input variable...











Published by: 988445 on March 26, 2013 19:55

Tags: Fusion Middleware

Similar Questions

  • How to 'Allow smoothing' for the loaded XML .jpg?

    I have a thumb wheel image that loads a bunch of jpg. They are be enlarged rollover in 1,05.

    I've seen pixelated at scale 1 x 1 as well as expanded.

    I'm happy prettey how Flash renders the images with "Allow smoothing" on.

    How would I do it for the loaded xml jpg? Would it be as a script in the main folder or in the xml file?

    Here's how to load images in AS3:

    function completeHandler_AppPopUps(e:Event):void{
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete
    
              //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);
    
              TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version
    
              TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded
    
    
    }
    
    

    I don't want to complicate things more than necessary, but just in case it's needed here is the complete code for the edification of the wheel section:

    /////Parse XML
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
              trace("build Scroller");
    
              for (var item:uint = 0; item<imageList.length();item++) {
                        var thisOne:MovieClip = new MovieClip();
    
                        //outline
                         var blackBox:Sprite = new Sprite();
                        blackBox.graphics.beginFill(0xFFFFFF);
                        blackBox.graphics.drawRect(-1, -1, 62, 92);//-1,-1 places rectangle 1px left and up.62, 92 draws rectangle 1px wider on all sides of placed image dimenstions of 60x90
                        blackBox.alpha = thumbFadeOut;//setting Border Tweens
                        thisOne.addChild(blackBox);
                        thisOne.blackBox = blackBox;//setting Border Tweens
    
                          thisOne.x = thisOne.myx = (60 + padding) *item;//replaces the line above for scale tweenw roll over calculation. "myx" is a made up term which defines the position. 61 is the width of the thumb
                        thisOne.itemNum = item;
                        thisOne.title = imageList[item].attribute("title");
                        thisOne.link = imageList[item].attribute("url");
                        thisOne.src = imageList[item].attribute("src");
                        thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
    
                        //Loading and Adding the Images
                        //image container
                        var thisThumb:MovieClip = new MovieClip();
                        //add image
                        var ldr:Loader = new Loader();
                        //var url:String = imageList[item].attribute("src");
                        var urlReq:URLRequest = new URLRequest(thisOne.src);
                        trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
                        ldr.load(urlReq);
                        //assign event listeners for Loader
                        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler_AppPopUps);//tells us when the loading is complete
                        ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler_AppPopUps);//tells us if there are any typo errors when the loading is complete
                        thisThumb.addChild(ldr);
                        thisOne.addChild(thisThumb);
    
                        //create listeners for this thumb
                        thisOne.buttonMode = true;//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem_AppPopUps);//makes boxes act as buttons
                        thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem_AppPopUps);//traces the title when the mouse is over the bounding box in the Output Panel
                        thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem_AppPopUps);//traces the title when the mouse is out the bounding box in the Output Panel
    
    
    
                        //add item
                        scroller.addChild(thisOne);
              }
              scroller.addEventListener(Event.ENTER_FRAME, moveScrollerThumbs);//adding movement on mouse position
              trace("termination of build scroller");
    
    }
    
    
    

    in your listener to full charge, enable the property smoothing to the content of your charger (expressed as a bitmap).

    function completeHandler_AppPopUps(e:Event):void{

    Bitmap(e.currentTarget.loader.content).smoothing=true;
              //trace("thumbnail complete "+e.target.loader.parent.parent.name)//tells us when the loading is complete

    //size image into scroller (need only if I will have images at different sizes)
              resizeMe(e.target.loader.parent, 60, 90, true, true, false);

    TweenMax.to(e.target.loader.parent.parent, .5, {alpha:.7});//makes all thumb images at alpha=.7 after they are fully loaded
              //Tweener.addTween(e.target.loader.parent.parent, { alpha:1, time: .5 } );//caurina version

    TweenMax.to(e.target.loader.parent.parent, .5, {colorMatrixFilter:{contrast:1.1, brightness: .7, saturation: .5}});//makes all thumb images at brightness:0.5 after they are fully loaded

    }

  • How to show the loading (wait screen) with animated image dialog between the screens

    Hello

    Can anyone show how to insert the load between two screens dialog, while the second screen is taken

    loading time?

    I tried the examples given in the forum but no luck

    There is an update about it here:

    http://supportforums.BlackBerry.com/T5/Java-development/sample-quot-Please-wait-quot-screen-part-1/t...

    Note comment added to the article as well - this is a useful Variant.

  • How to display the loading time of the page?

    Hello

    I would like to know how to display the loading time of the page? I know there is a var that must be in the footer, but I don't remember.




    Thanks in advance
    Antonio

    >
    You can use #TIMING # footer region the region to display the time taken to make this region - not sure about a whole page of
    >
    How about this the understands it in the front page template header...

    
    

    And then this in a div in the footer of the page template...

    
    

    See you soon

    Ben

  • How to change the portlet.xml deployed without redeploying it?

    I often need to change the portlet.xml in deployed war file. But after changing the portlet.xml seeking Middle_Home, he did not have any change to the portlet. Then must I redeploy the war file if I want to change? Or is there another method?

    Kind regards
    Jugela

    Hello.

    Any change in the portlet.xml require a re - deploy application. Load only the configuration such as web.xml files, portlet.xml when the application starts.

    Kind regards.

  • How to show the loading animation

    There is a 'loading... "animation when the Application is started for the first time."
    I want to know, how can I show the "Loading" a taskflow loading is underway?

    Thank you

    Shahab

    Hello

    unless you are looking for a programming solution, there is no splash screen that display for the loading of the workflow. You can use http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_statusIndicator.html, which when added to the parent page shows a busy for queries (spinning O) status

    Frank

  • How to break the body in Email

    Hello

    How chain jump in before EMAI, to break the body of the email I use < BR > but is not line break in the body of the email
    DECLARE
    
    l_id number;
    to_add varchar2(1000):=:P19_TO; 
    from_add varchar2(1000);
    l_body varchar2(4000):=:P19_DESCRIPTION;
    l_sub varchar2(1000):=:P19_SUBJECT;
    I_case varchar2(10):=:P19_CASE_ID;
    I_isue_dte  date:=:P19_SUBMITTED_ON;
    
    
    BEGIN
    
       select email_id into from_add from user_mas where user_id=:app_user;
    
       l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => l_sub||'<br>'||
                           I_isue_dte||'<br>'||
                           I_case||'<br>'||
                           l_body,
            P_subj      => l_sub);
      
             
      COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '192.168.0.6',
    P_SMTP_PORTNO => 25);
    commit; 
    
    END;
    How can I break the body of the email of new line.


    Thank you

    Ed

    Published by: Sophie on May 23, 2011 04:56

    You might want to try to change the

     

    for a

    chr(10)||chr(13)
    

    If you send a carriage return and a line feed.

  • How to prevent the loading of the images?

    I'm working on creating a web gallery in Dreamweaver CS3.  The thumbnails are in a horizontal Strip in a layer above the layer of the image in full size, in other words, the Strip lies the part of the image, but only when the image is in a vertical position. (the band has no background, so all that is visible are the actual thumbnails) When you click Show/hide text, in a configuration of rocker, the band fades or shows.   On my computer, it works perfectly. However, once downloaded, it takes forever to load the images.
    The problem: even though I have thumbnail images are defined to preload, all full-size images are loading as well, that takes a lot of time. Is there a way to prevent the images full size of loading, i.e. only when you click on the thumbnail?
    Executives, in which a picture is miniature and the other pictures, is what I normally would use, and have a page for each image. However, for what I have in mind, it will not work (transparency about the parts of an image above, another is as far as I can tell is not possible).

    So how do we stop loading images up to ask?  best regards ~ bill-o

    The problem I had in the past has to do with when you put information in the dialog box it insists on the use of the html version (< for)<) in="" the="" code,="" and="" i="" have="" to="" go="" back="" and="" fix="" them="">

    It is exactly what it OUGHT to do.  You don't need to go back and fix anything.  The code written by this behavior, as I have suggested is appropriate and correct.

  • How to calculate the loading time of BDB startup

    Hi all

    I understand that Berkeley DB at startup it will read a few pages from the disk in the memory cache, but I don't know the exact number of pages that will load. I think that BDB will load default pages as much as possible in the cache until the cache is full. Is this good?

    And how to calculate the cost of time on the loading process? Can it be verified using db_stat?

    Thank you very much

    Hello.

    There is a discussion on how proceed (preload the cache) in this thread:
    Re: a question about read file or cache

    Ben Schmeckpeper

  • How to break the two folders that are cross-linked?

    I tried to move C:\users\richard to E:\My Documents ' My Documents'.

    Some how the two directories have become reticulate.

    Make any change in directory caused the same change in the directories of the sentence.

    How to restore the two inventories back to normal?

    I tried to move the directory in E:\ back to C:\, but received a parsing error.

    TIA,

    Richard

    Wednesday, February 5, 2014, 17:20:47 + 0000, Richard332 wrote:

    I tried to move C:\users\richard to E:\My Documents ' My Documents'.

    Some how the two directories have become reticulate.

    Make any change in directory caused the same change in the directories of the sentence.

    How to restore the two inventories back to normal?

    I tried to move the directory in E:\ back to C:\, but received a parsing error.

    The directory c: is not really a directory; It is a library which is
    just a pointer to the real directory on E:, a bit like a shortcut.

    So if you get there via the library or the directory, you are in
    in the same place - E:\My Documents and any changes there are also
    See in the library.

  • How to add the loading bar already structured the site

    l has basically completed my site as a whole, which has a few layers and more than 400 executives who are divided into different marked sections on the main time line.

    The entire site is located in a scene.

    After that l has decided to add a bar of loading with AS3. lt type of work but made 40% so then passes to the second image. You can visit the site at 888acolyte.com

    l took the code developphp.com:

    ------------------------------------------------------------------------------------------ -------------------------------------------------------------------------------------

    function loadProgress(my_content:ProgressEvent):void {}

    var p: Number = Math.floor ((my_content.bytesLoaded*100)/my_content.bytesTotal);
    myLoadText.text = percent + '% ';
    myLoadBar.width = % * 2;
    }
    function loadComplete(e:Event):void {}
    currentFrame + 1;
    }
    loaderInfo.addEventListener (ProgressEvent.PROGRESS, loadProgress);
    loaderInfo.addEventListener (Event.COMPLETE, loadComplete);

    ------------------------------------------------------------------------------------------ ---------------------------------------------------------------------------------------

    l know (now) that it is strongly recommended that all of the main site will be located on the second single image. LS there any reasonable around him? lt will take me too long to copy and paste all layers and keyframes with AS3 in another video clip.

    l tried to combine all of the site in a clip to move by selecting all layers and keyframes and making the clip of a film. But somehow AS3 doesn't like it and l began to receive errors. My 2 questions are:

    1. What is the right way to combine a variety of layers with keyframes tags, AS3 in a movie clip single if she didn't was done correctly from the beginning? The end result is that framework are all the elements of the loader and frame two is the main site.

    2, l am pretty familiar with AS3 my wild guess would be that maybe can change here on the line

    "currentFrame + 1;" by replacing it with the line "currentFrame + 399;" If, in my example I have altogether 400 frames to load?

    The tutorial below can provide you with a less complicated preloading system and more reliable will not require you to play with content managers.

    http://www.gotoandlearn.com/play.php?id=85

  • PIX: How to break the long console output?

    Hello!

    How can I break up of long on the (v.6.3) PIX Firewall console output?

    Thank you.

    Type "sho run" (or "sho conf"). At a command prompt, press 'Q', this will take you to the command prompt.

  • How to stop the loading of funds when opening applications

    Recently upgraded to windows 8. When I click on an app of the splash screen that loads Office followed first by the app. When I close the application. I returned to the office. I find that I have little use for the desktopso would stop loading unless asked is it possible?

    Unfortunately that presented as a tile App some programs have to run in desktop mode. This obviously applies to programs that run on older versions of Windows. Only programs that are written like an application will remain in the environment of the start menu. Even some of the included windows programs always run in the desktop environment and have not been re-written as an application.

    However, Office mode allows multiple applications will take place so no program can stop at the splash screen and it would need to be aware of other programs and the startup mode for the last one to close the office.

    Should be then the o/s to follow how the Office has begun and the fence when is no longer needed, not beyond the field of opportunity, but not something he does right now.

  • How to use the query xml in as3

    What follows is the result of the motion preset xml export.

    < motion duration = "1" xmlns="fl.motion. * ' xmlns:geom=" flash.geom. * ' xmlns:filters="flash.filters. * '>

    < source >

      < source frameRate = "24" x="449.5" y="138.55" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="ball" symbolName="ball">

    < size >

      < geom: Rectangle left="-51.5" top="-51.5" width="103" height="103"/>

    < / size >

    < transformationPoint >

      < geom: Point x="0.5" y="0.9956310679611651"/>

    < / transformationPoint >

    < / source >

    < / source >

    <Keyframe index="0"/>

    < / movement >


    can someone show me how the as3 in flash script should be to put the motion to my mc "ball" in the fla?

    You cannot use a string.  Use the movieclip, evt.target not evt.target.name.

    (p.s when you use the adobe forums, check useful/correct, if there is.)

  • How to display the loading Image when you press a first level tab

    I have a long report which is directly related to a first level tab and want to display an image that makes the user aware that the application is running and load the data.

    Tried to use the plugin loading of Tobias Arnold icon, but it does not occur under this type of event.

    No idea how to use this plugin with a tab without submitting the page.

    Jeff

    23 theme is OK, the class = attribute "tab_link" on the tabs. I added that and now it works.

Maybe you are looking for