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.

 View Only
Expand all | Collapse all

PackageDoc package

  • 1.  PackageDoc package

    Posted Thu March 17, 2005 06:25 AM

    Hi all. I posted a new package in the Shareware section named PackageDoc. It displays package and service documentation for any package in the classic wM format. It uses the comments typed on the comments tab of services and the comments in the parameter properties so it makes maintaining up-to-date docs easier. The package itself provides an example of how to create and maintain package docs.
    [url=“wmusers.com”]wmusers.com

    Many thanks to Ravindran.V for the foundation. Try it out and post any comments or suggestions for improvement here.

    -Rob


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


  • 2.  RE: PackageDoc package

    Posted Thu March 17, 2005 06:14 PM

    There is a cosmetic bug in one of the services. To correct it:

    1. In Developer, open and lock for edit the PackageDoc.services:getServiceDetail service.

    2. Expand the sequence completely.

    3. Click on the step “java: MAP” and expand the serviceDetail document in the pipeline.

    4. Change the setting for “svc_type_Name” from “FLOW” to “Java”.

    5. Save the change and unlock the service.


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


  • 3.  RE: PackageDoc package

    Posted Thu March 17, 2005 10:26 PM

    Viewing the PackageDoc for a package can be integrated into the Packages | Management page that lists all packages on the server. It involves a fairly minor modification to packages\WmRoot\pub\package-list.dsp to add an icon (with link) right after the package name. With the change you can view the packages list as always in Administrator, then click on the little icon next to the package name to view its PackageDoc info. If interested in doing this, drop me a line–I hesitate publicly posting instructions for modifiying core wM .dsp files.


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


  • 4.  RE: PackageDoc package

    Posted Fri March 18, 2005 12:31 AM

    Ravindran.V and Rob - just wanted to say thank you - this looks like a very useful package to have.

    I’ve tried it in 4.6, but it didn’t work as expected (only the packages list in the main screen work). I guess it a 6.x and upwards compatible package, and I hope to try it on 6.1 soon.


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


  • 5.  RE: PackageDoc package

    Posted Fri March 18, 2005 02:06 AM


  • 6.  RE: PackageDoc package

    Posted Fri March 18, 2005 03:00 AM

    I didn’t try it on 4.6. I’ll see if I can track down the problem and provide a fix so that it will work with 4.6.


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


  • 7.  RE: PackageDoc package

    Posted Fri March 18, 2005 04:48 AM

    I appreciate you offering to do that Rob.

    I had a look at it to see what was involved and think I have it working in 4.6…

    Service #1: PackageDoc.services:getServiceDetail
    It calls 6.x style services like ‘pub.xml:xmlStringToXMLNode’ which don’t exist on 4.6. I changed two invokes to 4.6 equivalents (stringToDocument, documentToRecord)

    Service #2: PackageDoc.services:getServiceDetailList
    It called a transformer named ‘pub.list:appendToDocumentList’ which I converted to ‘pub.list:appendToRecordList’

    I’ve attached the modified file:

    Ravindran.V and Rob’s PackageDoc package modified to work for 4.6
    PackageDoc_v3_46changes.zip (54.9 k)

    Can you see if the 4.6 functionality was how it is intended to work?


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


  • 8.  RE: PackageDoc package

    Posted Fri March 18, 2005 03:31 PM

    I put the modified package on my 4.6 Build 939 with IBM JVM 1.3.0 and it works as intended. Glad it was just the deprecated services.


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


  • 9.  RE: PackageDoc package

    Posted Fri March 18, 2005 06:08 PM

    Hi,

    Sorry , i did not test the package with earlier vesrions,

    I have furter ideas but these are little more time consuming.

    1. To generate pseudo code description from comments in the steps.
    2. To show cached flow seperately
    3. To show Audit enabled services seperately as in situation , one would like to get a list of all the audit enabled services.
    4. To generate a logical flow document from File port configuration to show how the processing happens and if any publishing happens in the flow, similar to how Enterprise Integrator dsiplays the pubslish subscribe.

    Also on the lines a performace analysing tool that tells which service is clogging and taking most of the time.

    So lot of ideas are there, i hope will get more time to conribute more.

    Thanks to Rob emaon for the changes.

    Ravindran.V
    “Determination can move mountains”


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


  • 10.  RE: PackageDoc package

    Posted Mon March 21, 2005 01:00 AM

    Thanks for providing the service again Ravindran. Sounds like a good plan.

    It would be great if we built functionality to automate generation of IS service documentation – i.e. tools that document how service calls “chain” together into an execution path. In 2002, I put this and some other ideas down on this thread: (my post is 5th from top, see Rob’s posts as well.)
    [url=“wmusers.com”]wmusers.com

    Regarding your ideas:

    1. Generate pseudo code
      — WM Developer generates excellent pseudo-code as an HTML page - it would be great to leverage that and generate that for an entire server, with an INVOKEs hyperlinked to documentation on that particular INVOKE. (see thread above)

    2. & 3. To show cached flow /audit enabled services seperately
      — It would be good to be able to sort by attributes of a service, and define new attribute queries dynamically. For eg: “Show all services which have an active restorePipelineFromFile call”


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