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.  How to run service from script

    Posted Wed February 26, 2003 03:15 PM

    Hi, does anyone know how I can execute a java/flow service from a unix script (AIX4.3.3)? Do I need to reference the API to be able to do this? To avoid confusion as to what I mean by script; here’s a snippet from an existing script:

    "PATH=/usr/appc/data/myappsion:/usr/appc/data/myappsion/msg_client:/usr/java130/jre/bin:/usr/java130/bin:${PATH}CLASSPATH=/usr/java130/jre/lib/rt.jar:/usr/appc/data/myappsion/msg_client/wflaunch.jar:${CLASSPATH}

    for FILE in ls inbound/850*
    do
    LOGINFO=“850 inbound file name = ${FILE}”
    bin/writelog ${SPSUSRID} HD DTL DES “Inbound 850 File name = ${FILE} " data
    /log/”

    thanks!


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


  • 2.  RE: How to run service from script

    Posted Wed February 26, 2003 04:38 PM

    nevermind … I shouldve thought through this a littlemore … im gonna write a java client to do this and call that from the command line

    thx


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


  • 3.  RE: How to run service from script

    Posted Wed February 26, 2003 04:49 PM

    Note Developer has a client codegen feature that can jumpstart making a client for any service.


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