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.  Detecting Save/RestorePipeline steps in a flow service/package

    Posted Sat December 01, 2012 03:13 PM

    Hi,

    More often than not, we tend to use Save/RestorePipeline service in our flow services for debugging during development.

    Is there a way to detect if a package or the services contained in them have a Save/RetorePipeline step (either enabled or disabled).

    The intent is to design a service which takes the package name as input and gives the list of services that contain the Save/RestorePipeline service in them.

    Kindly suggest.

    Rgds,
    Hari


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


  • 2.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Sun December 02, 2012 05:58 PM

    I’d suggest to search for occurrences of “pub.flow.restorePipelineFromFile” in the files “flow.xml” in the subfolders of packages//ns.


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


  • 3.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Mon December 03, 2012 06:20 AM

    If you are working on 8.x version, I’d suggest you to use the service property " pipeline Debug" to save/restore the pipelines. This can be switched off at a global level using extended setting property.


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


  • 4.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Thu December 06, 2012 09:01 AM

    Simple! You can right click on those services, and choose the option ‘Fine Dependants’, which will list all the services that uses it. Or use wm.server.ns.dependency:getDependent and provide the complete namespace of services you want to check for any dependancy.

    Note - This is a WmRoot service, and not supported officially. I assume, the intent of your question is to clean up the code, and this is not involved in any actual logic of your interface flow.

    -Senthil


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


  • 5.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Thu October 24, 2013 12:22 PM

    Mervin: which property can we use to do that?

    Thx


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


  • 6.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Thu October 24, 2013 12:49 PM

    Mervin: Are you talking about watt.server.pipeline.processor global setting above?


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


  • 7.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Thu October 24, 2013 09:26 PM


  • 8.  RE: Detecting Save/RestorePipeline steps in a flow service/package

    Posted Fri October 25, 2013 02:38 PM

    Please see the above setting:


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