@echo off @rem ------------------------------------------------------------ @rem Company: Software- und Organisations-Service GmbH @rem Author : Andreas Püschel @rem Dated : 2006-05-21 @rem Purpose: Web Service client to send xml files to an endpoint @rem ------------------------------------------------------------ :start if "%1"=="" goto usage set SCHEDULER_HOME=c:\scheduler set SCHEDULER_LIB=%SCHEDULER_HOME%/lib set SCHEDULER_HOST=%3 if "%3"=="" set SCHEDULER_HOST=localhost set SCHEDULER_PORT=%4 if "%4"=="" set SCHEDULER_PORT=4444 java -cp %SCHEDULER_LIB%/sos.util.jar;%SCHEDULER_LIB%/org.apache.commons.jar sos.util.SOSHttpPost -i %SCHEDULER_HOME%/samples/shell.webservice.request/%2 -o %SCHEDULER_HOME%/samples/shell.webservice.response/%2 -u http://%SCHEDULER_HOST%:%SCHEDULER_PORT%/%1 goto end :usage @echo Usage: webservice_client.cmd endpoint [file_specification [host [port]]] @echo endpoint: virtual path (url) that is configured in the Job Scheduler @echo file_specification: regular expression for filenames, default: * @echo host: host on which the Job Scheduler is operated, default: localhost @echo port: port for which the Job Scheduler is operated, default: 4444 :end