summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/xsd/sca-binding-jca-1.1-cd04.xsd
blob: 5fd3f9d687bcb28d17ee65a7fa2e24c349391d9d (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright(C) OASIS(R) 2005,2009. All Rights Reserved. 
     OASIS trademark, IPR and other policies apply.  -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" 
        xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" 
        elementFormDefault="qualified">
        
   <include schemaLocation="sca-core-1.1-cd04.xsd"/>

   <complexType name="JCABinding">
      <complexContent>
         <extension base="sca:Binding">
            <sequence>
               <element name="outboundConnection" 
                        type="sca:JCAOutboundConnection" minOccurs="0" />
               <element name="inboundConnection" 
                        type="sca:JCAInboundConnection" minOccurs="0" />
               <element name="outboundInteraction" 
                        type="sca:JCAOutboundInteraction" minOccurs="0" />
               <element name="inboundInteraction" 
                        type="sca:JCAInboundInteraction" minOccurs="0" />
               <element name="property" type="sca:Property" minOccurs="0"
                        maxOccurs="unbounded" />
               <any namespace="##other" processContents="lax" minOccurs="0"
                    maxOccurs="unbounded" />
            </sequence>
            <attribute name="connectionInfo" type="anyURI" use="optional" />
            <attribute name="initialContextFactory" type="anyURI" 
                       use="optional"/>
    	   <attribute name="jndiURL" type="anyURI" use="optional"/>
         </extension>
      </complexContent>
   </complexType>

   <simpleType name="JCACreateResource">
      <restriction base="string">
         <enumeration value="always" />
         <enumeration value="never" />
         <enumeration value="ifNotExist" />
	    </restriction>
   </simpleType>
   <simpleType name="ResAuth">
      <restriction base="string">
         <enumeration value="container" />
         <enumeration value="application" />
      </restriction>
   </simpleType>
   <complexType name="JCAOutboundConnection">
      <sequence>
         <element name="resourceAdapter" type="sca:ResourceAdapter"
                  minOccurs="0" />
         <element name="connection" type="sca:Connection" />
         <element name="resAuth" type="sca:ResAuth" minOccurs="0" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="managed" type="boolean" use="optional"	
                default="true" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="JCAInboundConnection">
      <sequence>
         <element name="resourceAdapter" type="sca:ResourceAdapter" />
         <element name="activationSpec" type="sca:ActivationSpec" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="JCAOutboundInteraction">
      <sequence>
         <element name="connectionSpec" type="sca:ConnectionSpec"
                  minOccurs="0" />
         <element name="interactionSpec" type="sca:InteractionSpec"
                  minOccurs="0" />
         <element name="operation" type="sca:Operation" minOccurs="0" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="JCAInboundInteraction">
      <sequence>
         <element name="listener" type="string" minOccurs="0" />
         <element name="inboundOperation" type="sca:InboundOperation"
                  minOccurs="0" maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="ResourceAdapter">
      <sequence>
         <element name="property" type="sca:Property" minOccurs="0"
                  maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="name" type="NMTOKEN" use="optional" />
      <attribute name="type" type="NMTOKEN" use="required" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="Connection">
      <sequence>
         <element name="property" type="sca:Property" minOccurs="0"
                  maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="name" type="NMTOKEN" use="optional" />
      <attribute name="type" type="NMTOKEN" use="required" />
      <attribute name="create" type="sca:JCACreateResource" use="optional"
                 default="ifNotExist" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="ActivationSpec">
      <sequence>
         <element name="property" type="sca:Property" minOccurs="0"
                  maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="name" type="NMTOKEN" use="optional" />
      <attribute name="type" type="NMTOKEN" use="required" />
      <attribute name="create" type="sca:JCACreateResource" use="optional"
                 default="ifNotExist"/>
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="Operation">
      <sequence>
         <element name="interactionSpec" type="sca:InteractionSpec"
                  minOccurs="0" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="name" type="NMTOKEN" use="required" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="InboundOperation">
      <sequence>
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
		</sequence>
		<attribute name="name" type="NMTOKEN" use="required" />
		<attribute name="nativeOperation" type="string" use="required" />
		<anyAttribute namespace="##other" processContents="lax" />
	</complexType>
	<complexType name="ConnectionSpec">
      <sequence>
         <element name="property" type="sca:Property" minOccurs="0"
                  maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="type" type="NMTOKEN" use="required" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>
   <complexType name="InteractionSpec">
      <sequence>
         <element name="property" type="sca:Property" minOccurs="0"
                  maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0"
              maxOccurs="unbounded" />
      </sequence>
      <attribute name="type" type="NMTOKEN" use="required" />
      <anyAttribute namespace="##other" processContents="lax" />
   </complexType>

   <element name="binding.jca" type="sca:JCABinding"
            substitutionGroup="sca:binding" />
            
</schema>