IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  finding out the services which has commented code

    Posted 07/30/08 10:24 PM

    I am looking for a way to find out the list of the serices which has code commented. I have explored lot of built in services and could not able to find one. Can some one provide some suggestions.


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


  • 2.  RE: finding out the services which has commented code

    Posted 07/30/08 10:56 PM

    Hi Chandrap,
    There is a backdoor approach. You can use a unix script to list a service that has list disabled steps.

    If you see the flow.xml for that service, each steps will have a flag element called “DISABLED”, if this element is set to false means, that particular step is disabled.

    for eg;
    <SEQUENCE NAME=“sampleStep” TIMEOUT=“” EXIT-ON=“FAILURE” DISABLED=“true”>

    So your unix script has to looks for this flag, and list the file name, if exisits.

    I hope this helps.

    • Rooki4WebM -

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


  • 3.  RE: finding out the services which has commented code

    Posted 07/31/08 12:42 PM

    inside “packages” dir, run

    find -name flow.xml -exec grep -l ‘DISABLED=“true”>’ {} ;

    where is a way to identify your packages. (it’s for solaris, so it might need change to adapt to your unix)


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