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.  Invoking a webmethods service from unix script.

    Posted Wed June 21, 2006 03:44 PM

    I need to write a shell script to invoke a webMethods service. could you plz. tell me how to do this. this is required for control M scheduler. thank you.


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


  • 2.  RE: Invoking a webmethods service from unix script.

    Posted Wed June 21, 2006 04:24 PM

    Use Developer to generate a java application that will invoke your service from the command line and then code your script to do so.

    In Developer, go to Tools->Generate Code->For calling this service from a client->Java.

    Mark


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


  • 3.  RE: Invoking a webmethods service from unix script.

    Posted Wed June 21, 2006 04:52 PM

    Another option is to use perl and the LWP library to do an HTTP get/post to the Integration Server service of interest.


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


  • 4.  RE: Invoking a webmethods service from unix script.

    Posted Wed June 21, 2006 04:56 PM


  • 5.  RE: Invoking a webmethods service from unix script.

    Posted Mon November 07, 2011 04:47 PM

    MCarlson,

    Do you have an example of a shell scipt that uses cURL? Instead of wM scheduler, we’re trying a different method of automating or scheduling a services to run every 30 seconds.


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


  • 6.  RE: Invoking a webmethods service from unix script.

    Posted Tue November 15, 2011 10:12 AM

    You can also simple call your service using wget.


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