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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Command Line Execution Problem

    Posted 08/19/02 02:54 PM

    I am trying to execute the following commands on the command line through webMethods, but they do not work.

    path = c:\Program Files\winzip
    winzip sad.zip

    This doesn’t seem to work. Please help !!


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Command Line Execution Problem

    Posted 08/20/02 02:47 AM

    You can use something like the following:

    Process p = null;
    try 
    {                           
    p = r.exec("net send XXX hallo");
    }
    catch (Exception e) 
    {
    }
    

    It doesn’t work for things like e.g. rename of a file, it can kick off a .bat file, although execution thereof is touch and go. It is Java related, not specific to webMethods (believe me, I tried it)

    You can try to get hold of the Executer adapter (no technical support from webMethods as they don’t own the adapter)

    Hope this helps

    W


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: Command Line Execution Problem

    Posted 08/20/02 03:17 AM

    I believe that WinZip requires an add-on for command line execution, so check out http://www.winzip.com for more details. You could of course use Java instead (java.util.zip).

    Regards

    Geoff


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Command Line Execution Problem

    Posted 08/21/02 01:47 AM

    Winzip definitely requires add-ons for command line execution, but it works rather well.

    W


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Command Line Execution Problem

    Posted 08/23/02 04:10 PM

    Hello All,

    I am also try to get a solution for similar kind of problem. If any one got a solution for this problem please post it.

    However i would like to know more about the"Executer adapter" solution some posted here

    Thanks
    jay


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB