Sample Task File

This is a sample of a task file generated by Task Builder for Screens. This sample contains a single task called Task, and a single input and output called respectively, Input and Output.

Sample Code:

<?xml version="1.0" encoding="UTF-8"?>
<ScreenConnectorTasks>
 <transactions>
  <transaction id="Task">
   <input>
    <xsd:schema xmlns:xsd="http//www.w3.org/1999/XMLSchema">
     <xsd:element name="ScreenInputs">
      <xsd:complexType>
       <xsd:element default="controlSpaces" minOccurs="0" maxOccurs="1" 
name="C0ControlMapping" type="xsd:string"/>
       <xsd:element default="web001" minOccurs="0" name="Input" type="xsd:string">
        <xsd:annotation>
         <xsd:documentation/>
         <xsd:appinfo>Input</xsd:appinfo>
        </xsd:annotation>
       </xsd:element>
      </xsd:complexType>
     </xsd:element>
    </xsd:schema>
   </input>
   <output>
    <xsd:schema xmlns:xsd="http//www.w3.org/1999/XMLSchema">
     <xsd:element name="ScreenOutputs">
      <xsd:complexType>
       <xsd:element nullable="true" name="Output" type="xsd:string">
        <xsd:annotation>
         <xsd:appinfo>Output</xsd:appinfo>
         <xsd:documentation/>
        </xsd:annotation>
       </xsd:element>
      </xsd:complexType>
     </xsd:element>
    </xsd:schema>
   </output>
  </transaction>
 </transactions>

 <ConfigData>
  <Tasks>
   <task id="Task" serverAddress="localhost"
serverClass="com.attachmate.common.eai.ProxyTaskServer" map="Test" resource="Test"
task="Task" version="Task.1034629746198.V2" preserve_context="true"></task>
  </Tasks>
 </ConfigData>	
</ScreenConnectorTasks>
Related Topics
Bullet Using Tasks in Your Applications, Overview
Bullet Using XML
Bullet Building Applications Using Native Win32 Technologies
Bullet Proxy Service Interface API Reference
  Attachmate