﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="scheduler_job_documentation.xsl"?>
<description xmlns="http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.0 http://www.sos-berlin.com/schema/scheduler_job_documentation_v1.0.xsd">

  <job name  = "JobSchedulerHttpPostJob"
       title = "Post files via HTTP"
       order = "both"
       tasks = "1">
    <script language   = "java"
            java_class = "sos.scheduler.job.JobSchedulerHttpPostJob"
            resource   = "1">
    </script>
  </job>

  <releases>
    <release id="1.0" created="2006-02-20" modified="2006-02-21">
      <title>Version 1.0</title>
      <author name="Andreas Püschel" email="andreas.pueschel@sos-berlin.com"/>
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Initiale Auslieferung</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Initial release</div></note>
      <changes language="de"><div xmlns="http://www.w3.org/1999/xhtml">Apache Commons logging ist deaktiviert</div></changes>
      <changes language="en"><div xmlns="http://www.w3.org/1999/xhtml">Apache Commons logging is disabled</div></changes>
    </release>
  </releases>

  <resources>
    <file os="all" type="java" file="sos.scheduler.jar" id="1">
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Standard-Job der Auslieferung</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Standard job in distribution</div></note>
    </file>
    <file os="all" type="java" file="sos.spooler.jar" id="2">
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Klasse Job_Impl</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Class Job_Impl</div></note>
    </file>
    <file os="all" type="java" file="sos.util.jar" id="3">
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Klasse SOSLogger</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Class SOSLogger</div></note>
    </file>
    <file os="all" type="java" file="sos.settings.jar" id="4">
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Klasse SOSProfileSettings</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Class SOSProfileSettings</div></note>
    </file>
    <file os="all" type="java" file="commons-httpclient-3.0.jar" id="5">
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">Klassen org.apache.commons.httpclient.*</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">Classs org.apache.commons.httpclient.*</div></note>
    </file>
  </resources>

  <configuration>
    <params id="job_parameter">
      <param name="url" default_value="" required="true">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Der Parameter benennt die URL, an die Eingabedateien gesendet werden.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            This parameter specifies the URL to which the given files are to be posted.
          </div>
        </note>
      </param>
      <param name="input" default_value="" required="true">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Der Parameter enthält einen gültigen Verzeichnisnamen oder Dateinamen. Wird ein Verzeichnisname angegeben, dann werden alle im Verzeichnis enthaltenen Dateien in beliebiger Reihenfolge gesendet. Ist ein Dateiname angegeben, dann wird nur diese Datei gesendet.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            This parameter contains a valid directory name or file name. 
            If a directory name is specified, then all files contained in this directory will be posted in indeterminate order. 
            If a file name is given, then only the file with this name will be posted.
          </div>
        </note>
      </param>
      <param name="input_filespec" default_value="^(.*)$" required="false">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Ein regulärer Ausdruck zum Filtern der Eingabedateien, wenn ein Eingabeverzeichnis vereinbart wurde.
          </div>
         </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            A regular expression may be specified as a filter for the input files in a directory.
          </div>
        </note>
      </param>
      <param name="output" default_value="" required="false">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Der Parameter enthält einen gültigen Verzeichnisnamen oder Dateinamen, in dem die Ausgaben der URL gespeichert werden, an die die Eingabedateie(en) gesendet wurden. Wird ein Verzeichnisnamen angegeben, dann werden Ausgabedateinamen entsprechend der Eingabedateinamen erzeugt. Wird ein Dateiname angegeben, dann wird die Ausgabe in dieser Datei gespeichert; bei aufeinanderfolgenden Ausgaben wird die Datei überschrieben.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            This parameter contains a valid directory name or file name to store the output from the URL
            to which the original input file(s) were posted. 
            If a directory name is given then the output file names will match the input file names. 
            If a file name is given then all output will be stored in this file.
          </div>
        </note>
      </param>
      <param name="content_type" default_value="" required="false">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Per Voreinstellung werden der Content Type und die Zeichenkodierung (encoding) dem Inhalt von Eingabedateien der Formate xml und html entnommen. Dieser Parameter überschreibt einen ggf. in Eingabedateien enthaltenen Content Type.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            The content type and character set encoding are retrieved from the content of xml and html input files by default. 
            This parameter, however, overwrites any content type given in input files.
          </div>
        </note>
      </param>
    </params>

    <payload>
      <note language="de"><div xmlns="http://www.w3.org/1999/xhtml">siehe Job Parameter</div></note>
      <note language="en"><div xmlns="http://www.w3.org/1999/xhtml">see Job Parameters</div></note>
      <params>
        <param name="encoding" default_value="" required="false">
          <note language="de">
            <div xmlns="http://www.w3.org/1999/xhtml">
              Der Parameter vereinbart die Zeichencodierung (character set encoding). Per Voreinstellung wird sie dem Inhalt von Eingabedateien der Formate xml und  html entnommen.
            </div>
          </note>
          <note language="en">
            <div xmlns="http://www.w3.org/1999/xhtml">
              This parameter provides the character set encoding value. By default the encoding of xml and html input files is retrieved from the content of these files.
            </div>
          </note>
        </param>
      </params>
    </payload>
  </configuration>

  <documentation language="de">
    <div xmlns="http://www.w3.org/1999/xhtml">
      Der Job sendet Dateien via HTTP an eine URL. Der Job wird u.a. für den Test von Web Services eingesetzt,
      um Eingabedateien aus einem Verzeichnis an einen Web Service zu senden und die zurückgelieferten
      Antworten in Ausgabedateien abzulegen.
    </div>
  </documentation>

  <documentation language="en">
    <div xmlns="http://www.w3.org/1999/xhtml">
      This job sends files via HTTP to a URL. This job is used, for example, to test web services by means
      of sending files from an input directory to a web service and storing the results from the 
      web service responses in output files.
    </div>
  </documentation>
</description>