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.  Using WmRoot/wm.server.packages:packageInstall

    Posted Mon February 19, 2018 11:52 PM

    Hi,

    I want to automate the installation of the package.

    I tried to search about WmRoot/wm.server.packages:packageInstall to install my package using flow service . I have already enabled the wmRoot package by placing “watt.server.ns.hideWmRoot=False” in Extended settings.

    Based here on the forum : [url]http://tech.forums.softwareag.com/techjforum/posts/list/35257.page[/url]

    “You have to place the zip files i.e. packages in the inbound folder and submit the file name to “file” variable and “activateOnInstall” variable has to be set to true to enable the packages upon installation.”

    How can I submit the file name to “file” variable and “activateOnInstall” variable has to be set to true?

    Thank You.
    Red-


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


  • 2.  RE: Using WmRoot/wm.server.packages:packageInstall

    Posted Tue February 20, 2018 05:53 AM

    Hi Red,

    as it is not possible to invoke this service directly via IS Admin UI, you will have to build a wrapper around it.

    I am not sure if this service can be invoked via URL:
    http.//ip:port/invoke/wm.server.packages:packageInstall?file=&activateOnInstall=true

    What wM version are on?

    Is it really neccessary to use this mechanism here?
    Did you check usage of Deployer and ProjectAutomator to accomplish your task?

    Regards,
    Holger


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


  • 3.  RE: Using WmRoot/wm.server.packages:packageInstall

    Posted Tue February 20, 2018 06:29 AM

    Hi,

    How can I invoke the service via URL?

    I tried to use the Deployer wherein I manually copied the file in the /inbound folder, installed and activated the package in the IS(package>management>install inbound packages) but I am not familiar with the ProjectAutomator.

    Thank you,
    Red-


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


  • 4.  RE: Using WmRoot/wm.server.packages:packageInstall

    Posted Tue February 20, 2018 10:32 AM

    Hi,

    please note that the Deployer has its own replicate/inbound directory under WmDeployer package.
    But this only neccessary, if the target environment is not visible to the source (or vice versa).

    See Deployer Users Guide and IS Administrators Guide for further informations.

    Regards,
    Holger


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


  • 5.  RE: Using WmRoot/wm.server.packages:packageInstall

    Posted Tue February 20, 2018 01:16 PM

    You must consider DevOps CI and CD tool as this will fulfill your requirements and even more. Just give a thought and explore them.


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