comparison _test/Resources/resources.xsd @ 218:358f867712b4

sync
author sergey
date Mon, 20 Aug 2012 17:24:48 +0400
parents
children c477f24f1980
comparison
equal deleted inserted replaced
217:bfce101e0a5a 218:358f867712b4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <schema targetNamespace="uri:impl-web-application/resources" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="uri:impl-web-application/resources">
3 <element name="resources">
4 <complexType>
5 <sequence>
6 <element name="root" type="tns:restResource"></element>
7 <element name="typeMap">
8 <complexType>
9 <sequence>
10 <element name="item">
11 <complexType>
12 <complexContent>
13 <extension
14 base="tns:restResource">
15 <sequence></sequence>
16 <attribute
17 name="type" type="string">
18 </attribute>
19 </extension>
20 </complexContent>
21 </complexType></element>
22 </sequence>
23 </complexType></element>
24 </sequence>
25 </complexType>
26 </element>
27
28 <complexType name="restResource">
29 <sequence>
30 <element name="get" type="tns:restOperation" minOccurs="0">
31 </element>
32 <element name="post" type="tns:restOperation" minOccurs="0">
33 </element>
34 <element name="put" type="tns:restOperation" minOccurs="0">
35 </element>
36 <element name="delete" type="tns:restOperation" minOccurs="0">
37 </element>
38 <element name="resource" type="string" maxOccurs="unbounded" minOccurs="0"></element>
39 </sequence>
40 </complexType>
41
42 <complexType name="restOperation">
43 <sequence>
44 <element name="invoke" type="string"></element>
45 <element name="parameters" type="string"></element>
46 <element name="result" type="string"></element>
47 </sequence>
48 </complexType>
49 </schema>