webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Debugging Flowservice

    Posted Wed June 06, 2012 06:35 AM

    hi all,
    I know for executing flowservice we can use save pipeline and restore pipeline.But i dont Know while we are enabling save pipeline we disabled restore pipeline.And the same while we are enabled restore pipeline we disabled save pipeline Why?

    Can any one clarify my doubt.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Debugging Flowservice

    Posted Wed June 06, 2012 06:42 AM

    Raj,
    savePipelineToFile saves the pipeline data to file system (under /sag/IntegrationServer/pipeline). It is not mandatory to have this all the time. When we do some testing, we keep this service to save data locally sometimes. Once it is saved, you can use restorePipelineFromFile which will retrieve the saved data from the file system. This is basically to avoid ‘requesting sender to send data again and again’ for some basic testing purpose.

    Pls refer built in services guide to understand more about all the WmPublic services.

    -Senthil


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Debugging Flowservice

    Posted Wed June 06, 2012 07:03 AM

    Thank you senthil…But I have one doubt…while we are invoke save and restore pipline we cannot enable and disable at atime…means if we disable save that time we have to enable restore … can my question clear…

    …am waiting for your ans senthil…


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Debugging Flowservice

    Posted Wed June 06, 2012 07:35 AM

    It is just a basic logic… Would suggest you to use the service one by one and do some practice… You will understand it better…

    -Senthil


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: Debugging Flowservice

    Posted Wed June 06, 2012 08:01 AM

    k…Thank you senthil


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Debugging Flowservice

    Posted Mon June 18, 2012 09:05 AM

    Hi Raj
    you can also use a Exit “from flow” between save and restore pipeline to file services to minimize the enable and disable of these services while debugging.

    Thanks,
    Amol.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 7.  RE: Debugging Flowservice

    Posted Sun July 01, 2012 06:56 PM

    Assume 1st time ur going to debug the service then u will be adding a savepipe line & restore pipeline, both are enabled. u run the service.

    You won’t face any problem, but really there is no use of enabeling restore pipeline.

    2nd time ur going to debug the Required service where u put the save/restore pipeline steps.

    now u try to run service either step by step or run the service, at first place a window will appear to get the input for that service, in this debuging scenario we not used to give those i/p and we will move to the next step.

    what will happen now? since we dont give any i/p values now the savepiepline will emptied the saveD pieline XML file in the filesystem, so the restore pipeline will fetch the empty pipeline XML, since there are no inputs ur service will throw some error & it will get exit.

    To get rid out of this u shud disable the save pipeline


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods