<?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  = "JobSampleWebServiceRequestHelloWorld" 
       title = "Process synchronous Web Service Request" 
       order = "yes">
    <script language = "javascript" 
            resource = "1"/>
  </job>

  <releases>
    <release id="1.0" created="2006-04-20" modified="2006-04-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>
    </release>
  </releases>

  <resources>
    <file os="all" type="java" file="scheduler_samples_webservice.xml" id="1">
      <note language="de">
        <div xmlns="http://www.w3.org/1999/xhtml">
          Implementierungsbeispiel in der XML Job-Konfigurationsdatei
        </div>
      </note>
      <note language="en">
        <div xmlns="http://www.w3.org/1999/xhtml">
          Sample Implementation included in XML configuration file
        </div>
      </note>
    </file>
  </resources>

  <configuration>
    <params id="job_parameter">
      <param name="request_stylesheet" default_value="config/scheduler_soap_request.xslt" required="false">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Der Parameter benennt das Stylesheet, mit dem die Anfrage transformiert wird.
            Diese Transformation ist in der Implementierung auskommentiert.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            This parameter specifies the stylesheet that transforms the request.
            Transformation is commented out in the implementation.
          </div>
        </note>
      </param>
    </params>
  </configuration>

  <documentation language="de">
    <div xmlns="http://www.w3.org/1999/xhtml">
      Der Job wird für synchrone Web Service Anfragen verwendet: er nimmt den Inhalt der Anfrage entgegen,
      transformiert den Inhalt optional und erzeugt Auftragsparameter für den nächsten Job in der Job-Kette.
      <br/><br/>
      Der Job wird als erster in einer Job-Kette eingesetzt, die aus folgenden Job-Knoten besteht:
      <br/><br/>
      <ul>
        <li>Annahme und Verarbeitung von Web Service Anfragen</li>
        <li>Beliebige Ausführung von Jobs mit dem Inhalt der Anfrage</li>
        <li>Verarbeitung und Weiterleitung der Web Service Antwort</li>
      </ul>
      <br/>
      Der Job verwendet Java Hilfsklassen, da JavaScript (Spidermonkey) keine XML-Verarbeitung unterstützt.
    </div>
  </documentation>

  <documentation language="en">
    <div xmlns="http://www.w3.org/1999/xhtml">
      This job is used for synchronous Web Service requests: it receives the XML request content,
      optionally transforms the content and creates order parameters for the next job in the job chain.
      <br/><br/>
      This job is the first one in a job chain that is composed of the job nodes:
      <br/><br/>
      <ul>
        <li>Receive and Process Web Service Request</li>
        <li>Do some job execution with the request content</li>
        <li>Process and Forward Web Service Response</li>
      </ul>
      <br/>
      This job makes use of a Java helper class as JavaScript (Spidermonkey) does not support 
      XML processing.
    </div>
  </documentation>
</description>
