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
  • 1.  Integration Server Built-In Services to delete Package

    Posted Wed July 12, 2017 10:31 AM

    Hello,

    AFAIK, there is no Built-In Service to delete Package on Integration Server. There are only services to disable/enable Package.
    We can delete Package only thru the Integration Server Web application (“Packages/Management”).
    Am I right? If yes, what is the reason for that?

    Thanks


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Integration Server Built-In Services to delete Package

    Posted Wed July 12, 2017 02:35 PM

    There are services available in WmRoot package. Use this package at your own risk as these are internal assets of the product suite.

    Let us know your requirements? We can share you other alternatives if there is something.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 04:31 AM

    Hello,

    I’m trying to automate the clean up of unused Process Model.
    To do so, I am using:

    • “WmMonitor.deleteUnusedModel” service to delete the Process Model
    • “WmPublic.deleteJMSTrigger” service to delete JMS Trigger linked to Process Model

    But I didn’t find any “public” service to delete the Packages related to Process Model.

    Regarding the WmRoot Package, I found a “packageDelete” service inside, but there is no parameter to specify which Package I want to delete…

    Thanks


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 06:28 AM

    Hi,

    You should study the WmRoot dsp pages related to package management; that’s the only way you’ll know what are the parameters.

    As these are system-private services, no documentation or guarantee of API stability is given.

    Also, they can completely trash your system.

    Good luck.


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 06:40 AM

    Hi,

    I already had a look at the WmRoot dsp pages, specially the one about the “packageDelete” service.
    This page displays no parameter, so I’m wondering how we can delete a package with this service … without being able to specify a package name!

    Thanks


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 07:11 AM

    I have finally found the expected parameters of this WmRoot.packageDelete service, by testing the service execution using browser and Designer.

    Expected parameters are:

    • “package”: to specify the Package name to delete
    • “safeDelete”: boolean to make a copy of Package before deleting it

    Olivier


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 10:00 AM


  • 8.  RE: Integration Server Built-In Services to delete Package

    Posted Thu July 13, 2017 03:16 PM

    The best way to find out parameters is analyzing the back end Java method associated with the service.


    #Integration-Server-and-ESB
    #webMethods