source: trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/HeuristicLab.Hive.Contracts1.xsd @ 1450

Last change on this file since 1450 was 1450, checked in by kgrading, 12 years ago

first implementation (#547)

File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
4  <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" />
5  <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" />
6  <xs:complexType name="Response">
7    <xs:sequence>
8      <xs:element minOccurs="0" name="StatusMessage" nillable="true" type="xs:string" />
9      <xs:element minOccurs="0" name="Success" type="xs:boolean" />
10    </xs:sequence>
11  </xs:complexType>
12  <xs:element name="Response" nillable="true" type="tns:Response" />
13  <xs:complexType name="ResponseHB">
14    <xs:complexContent mixed="false">
15      <xs:extension base="tns:Response">
16        <xs:sequence>
17          <xs:element minOccurs="0" name="ActionRequest" nillable="true" type="tns:ArrayOfMessageContainer" />
18        </xs:sequence>
19      </xs:extension>
20    </xs:complexContent>
21  </xs:complexType>
22  <xs:element name="ResponseHB" nillable="true" type="tns:ResponseHB" />
23  <xs:complexType name="ArrayOfMessageContainer">
24    <xs:sequence>
25      <xs:element minOccurs="0" maxOccurs="unbounded" name="MessageContainer" nillable="true" type="tns:MessageContainer" />
26    </xs:sequence>
27  </xs:complexType>
28  <xs:element name="ArrayOfMessageContainer" nillable="true" type="tns:ArrayOfMessageContainer" />
29  <xs:complexType name="MessageContainer">
30    <xs:sequence>
31      <xs:element name="_x003C_JobId_x003E_k__BackingField" type="ser:guid" />
32      <xs:element name="_x003C_Message_x003E_k__BackingField" type="tns:MessageContainer.MessageType" />
33    </xs:sequence>
34  </xs:complexType>
35  <xs:element name="MessageContainer" nillable="true" type="tns:MessageContainer" />
36  <xs:simpleType name="MessageContainer.MessageType">
37    <xs:restriction base="xs:string">
38      <xs:enumeration value="FetchJob" />
39      <xs:enumeration value="AbortJob" />
40      <xs:enumeration value="JobAborted" />
41      <xs:enumeration value="RequestSnapshot" />
42      <xs:enumeration value="FinishedJob" />
43      <xs:enumeration value="NoMessage" />
44      <xs:enumeration value="SnapshotReady" />
45      <xs:enumeration value="Shutdown" />
46    </xs:restriction>
47  </xs:simpleType>
48  <xs:element name="MessageContainer.MessageType" nillable="true" type="tns:MessageContainer.MessageType" />
49  <xs:complexType name="ResponseJob">
50    <xs:complexContent mixed="false">
51      <xs:extension base="tns:Response">
52        <xs:sequence>
53          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" minOccurs="0" name="Job" nillable="true" type="q1:Job" />
54        </xs:sequence>
55      </xs:extension>
56    </xs:complexContent>
57  </xs:complexType>
58  <xs:element name="ResponseJob" nillable="true" type="tns:ResponseJob" />
59  <xs:complexType name="ResponseResultReceived">
60    <xs:complexContent mixed="false">
61      <xs:extension base="tns:Response">
62        <xs:sequence>
63          <xs:element minOccurs="0" name="JobId" type="ser:guid" />
64          <xs:element minOccurs="0" name="finished" type="xs:boolean" />
65        </xs:sequence>
66      </xs:extension>
67    </xs:complexContent>
68  </xs:complexType>
69  <xs:element name="ResponseResultReceived" nillable="true" type="tns:ResponseResultReceived" />
70  <xs:complexType name="ResponsePlugin">
71    <xs:complexContent mixed="false">
72      <xs:extension base="tns:Response">
73        <xs:sequence>
74          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" minOccurs="0" name="Plugins" nillable="true" type="q2:ArrayOfCachedPlugin" />
75        </xs:sequence>
76      </xs:extension>
77    </xs:complexContent>
78  </xs:complexType>
79  <xs:element name="ResponsePlugin" nillable="true" type="tns:ResponsePlugin" />
80</xs:schema>
Note: See TracBrowser for help on using the repository browser.