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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

How to configure a service in scheduler with inputs

  • 1.  How to configure a service in scheduler with inputs

    Posted Mon July 18, 2011 03:14 PM

    Hi All,

    I have a requirement to configure a service in scheduler which has a input value,
    i don’t want to define a new service in developer to supply the input value for the service which has to be placed in scheduler.

    Could any one please let me know how to achieve this and give an input to the service in scheduler on a fly.

    Below are the services which i want to configure as schedulers:

    pub.art.connection:enableConnection

    pub.art.listener:enableListener

    pub.art.notification:enableListenerNotification

    Regards,
    Vikram


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


  • 2.  RE: How to configure a service in scheduler with inputs

    Posted Mon July 18, 2011 03:56 PM

    You can use pub.scheduler:addComplexTask, addOneTimeTask or addRepeatingTask. Each of these accepts a paramter named “input” which you can set with the inputs for the service being called.

    Be advised, however, that if anyone uses IS Administrator to edit the task in any way the inputs will be lost.


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


  • 3.  RE: How to configure a service in scheduler with inputs

    Posted Wed July 20, 2011 10:00 AM

    Thanks for your quick response rob.

    I am trying to add a repeating task by using pub.scheduler:addaddRepeatingTask

    i have given all the required input values and other variables, but i am getting an exception while invoking the service "Could not run ‘addRepeatingTask’.

    com.wm.app.b2b.server.ServiceException: [ISS.0085.9234] Invalid target node"

    The target node combinations which i have tried giving are as follows"

    localhost:port

    Hostname:port

    Alias:port

    but still getting invalid target exception, could you please let me know what is the correct target format which we should supply while invoking the service.

    Regards,
    Vikram


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


  • 4.  RE: How to configure a service in scheduler with inputs

    Posted Wed July 20, 2011 04:19 PM