<?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  = "JobSampleWebServiceResponseHelloWorld" 
       title = "Process synchronous Web Service Response" 
       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="response_stylesheet" default_value="config/scheduler_soap_response.xslt" required="false">
        <note language="de">
          <div xmlns="http://www.w3.org/1999/xhtml">
            Der Parameter benennt das Stylesheet, mit dem die Antwort für den Web Service transformiert wird.
          </div>
        </note>
        <note language="en">
          <div xmlns="http://www.w3.org/1999/xhtml">
            This parameter specifies the stylesheet that transforms the Web Service response.
          </div>
        </note>
      </param>
    </params>
  </configuration>

  <documentation language="de">
    <div xmlns="http://www.w3.org/1999/xhtml">
      Der Job wird für synchrone Web Service Antworten eingesetzt: er verwendet Verarbeitungsergebnisse
      von Aufträgen, die von vohergehenden Jobs in in der Nutzlast (Payload) des Auftrags gespeichert wurden,
      transformiert den Inhalt der Nutzlast und leitet die Antwort an den aufrufenden Web Service weiter.
      <br/><br/>
      Der Job wird als letzter 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 das Job Scheduler API, um die Web Service Antwort zu transformieren und weiterzuleiten.
    </div>
  </documentation>

  <documentation language="en">
    <div xmlns="http://www.w3.org/1999/xhtml">
      This job is used for synchronous Web Service responses: it uses the job execution results
      of an order that have been stored in the order payload, 
      transforms the content of the order payload and forwards the response to the calling Web Service.
      <br/><br/>
      This job is the last 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 the Job Scheduler API to transform and forward the Web Service response.
    </div>
  </documentation>
</description>
