summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/WEB-INF/wsdl/stal.xsd
blob: 750cf355088554d309077e0ed56057c8c08b9076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2011 by Graz University of Technology, Austria
  MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
  initiative of the Federal Chancellery Austria and Graz University of Technology.

  Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
  the European Commission - subsequent versions of the EUPL (the "Licence");
  You may not use this work except in compliance with the Licence.
  You may obtain a copy of the Licence at:
  http://www.osor.eu/eupl/

  Unless required by applicable law or agreed to in writing, software
  distributed under the Licence is distributed on an "AS IS" basis,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the Licence for the specific language governing permissions and
  limitations under the Licence.

  This product combines work with different licenses. See the "NOTICE" text
  file for details on the various modules and licenses.
  The "NOTICE" text file is part of the distribution. Any derivative works
  that you distribute must include a readable copy of the "NOTICE" text file.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.egiz.gv.at/stal"
    xmlns:tns="http://www.egiz.gv.at/stal"
    elementFormDefault="qualified">
  <element name="SessionId" type="string"/>
  <element name="GetNextRequest" type="tns:GetNextRequestType"/>
  <element name="GetNextRequestResponse" type="tns:GetNextRequestResponseType"/>
  <element name="GetHashDataInput" type="tns:GetHashDataInputType"/>
  <element name="GetHashDataInputResponse" type="tns:GetHashDataInputResponseType"/>
  <element name="GetHashDataInputFault" type="tns:GetHashDataInputFaultType"/>
  <complexType name="GetNextRequestType">
        <!-- abstract Request/Response type not supported by JAX-WS 2.0 (jdk < 1.6.0_04)  
        <sequence>
            <element name="Response" type="tns:ResponseType"  minOccurs="0"  maxOccurs="unbounded"/>
        </sequence-->
    <choice maxOccurs="unbounded">
      <element name="InfoboxReadResponse" type="tns:InfoboxReadResponseType"/>
      <element name="SignResponse" type="tns:SignResponseType"/>
      <element name="ErrorResponse" type="tns:ErrorResponseType"/>
      <element name="StatusResponse" type="tns:StatusResponseType"/>
    </choice>
    <attribute name="SessionId" type="string"/>
  </complexType>
  <complexType name="ResponseType" abstract="true" />
  <complexType name="InfoboxReadResponseType">
    <complexContent>
      <extension base="tns:ResponseType">
        <sequence>
          <element name="InfoboxValue" type="base64Binary"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="SignResponseType">
    <complexContent>
      <extension base="tns:ResponseType">
        <sequence>
          <element name="SignatureValue" type="base64Binary"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="ErrorResponseType">
    <complexContent>
      <extension base="tns:ResponseType">
        <sequence>
          <element name="ErrorCode" type="int"/>
          <element name="ErrorMessage" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="StatusResponseType">
    <complexContent>
      <extension base="tns:ResponseType">
        <attribute name="cardReady" type="boolean" />
      </extension>
    </complexContent>
  </complexType>
  <complexType name="GetNextRequestResponseType">
        <!-- abstract Request/Response type not supported by JAX-WS 2.0 (jdk < 1.6.0_04) 
        <sequence>
            <element name="Request" type="tns:RequestType" minOccurs="0" maxOccurs="unbounded"/>
        </sequence-->
    <choice maxOccurs="unbounded">
      <element name="InfoboxReadRequest" type="tns:InfoboxReadRequestType"/>
      <element name="SignRequest" type="tns:SignRequestType"/>
      <element name="QuitRequest" type="tns:QuitRequestType"/>
      <element name="StatusRequest" type="tns:StatusRequestType"/>
    </choice>
    <attribute name="SessionId" type="string"/>
  </complexType>
  <complexType name="RequestType" abstract="true"/>
  <complexType name="InfoboxReadRequestType">
    <complexContent>
      <extension base="tns:RequestType">
        <sequence>
          <element name="InfoboxIdentifier">
            <simpleType>
              <restriction base="string">
                <enumeration value="Certificates"/>
                <enumeration value="IdentityLink"/>
                <enumeration value="Mandates"/>
              </restriction>
            </simpleType>
          </element>
          <element name="DomainIdentifier" type="anyURI" minOccurs="0"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="SignRequestType">
    <complexContent>
      <extension base="tns:RequestType">
        <sequence>
          <element name="KeyIdentifier">
            <simpleType>
              <restriction base="string">
                <enumeration value="SecureSignatureKeypair"/>
                <enumeration value="CertifiedKeypair"/>
              </restriction>
            </simpleType>
          </element>
          <element name="SignedInfo">
            <complexType>
              <simpleContent>
                <extension base="base64Binary">
                  <attribute name="IsCMSSignedAttributes" type="boolean" default="false"/>
                </extension>
              </simpleContent>
            </complexType>
          </element>
          <element name="SignatureMethod" type="string" minOccurs="0"/>
          <element name="DigestMethod" type="string" minOccurs="0"/>
          <element name="ExcludedByteRange" minOccurs="0">
            <complexType>
              <attribute name="from" type="unsignedLong" use="required"/>
              <attribute name="to" type="unsignedLong" use="required"/>
            </complexType>
          </element>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="QuitRequestType">
    <complexContent>
      <extension base="tns:RequestType"/>
    </complexContent>
  </complexType>
  <complexType name="StatusRequestType">
    <complexContent>
      <extension base="tns:RequestType"/>
    </complexContent>
  </complexType>
  <complexType name="GetHashDataInputType">
    <sequence>
      <element name="Reference" maxOccurs="unbounded">
        <complexType>
          <attribute name="ID" type="string"/>
        </complexType>
      </element>
    </sequence>
    <attribute name="SessionId" type="string"/>
  </complexType>
  <complexType name="GetHashDataInputResponseType">
    <sequence>
      <element name="Reference" maxOccurs="unbounded">
        <complexType>
          <simpleContent>
            <extension base="base64Binary">
              <attribute name="ID" type="string"/>
              <attribute name="MimeType" type="string" use="optional"/>
              <attribute name="Encoding" type="string" use="optional"/>
              <attribute name="Filename" type="string" use="optional"/>
            </extension>
          </simpleContent>
        </complexType>
      </element>
    </sequence>
    <attribute name="SessionId" type="string"/>
  </complexType>
  <complexType name="GetHashDataInputFaultType">
    <sequence>
      <element name="ErrorCode" type="int"/>
      <element name="ErrorMessage" type="string"/>
    </sequence>
  </complexType>
</schema>