How to run service from script

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!

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

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