glassfish 0.1.1-universal-java-1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,789 @@
1
+
2
+ <!--
3
+ XML DTD for Sun Application Server specific Java EE web
4
+ deployment descriptor. This is a companion DTD to web-app_2_5.xsd
5
+
6
+ It must include a DOCTYPE of the following form:
7
+
8
+ <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
9
+
10
+ -->
11
+
12
+ <!ENTITY % boolean "(yes | no | on | off | 1 | 0 | true | false)">
13
+
14
+ <!-- root element for vendor specific web application (module) configuration -->
15
+ <!ELEMENT sun-web-app (context-root?, security-role-mapping*, servlet*, idempotent-url-pattern*, session-config?,
16
+ ejb-ref*, resource-ref*, resource-env-ref*, service-ref*,
17
+ message-destination-ref*, cache?, class-loader?,
18
+ jsp-config?, locale-charset-info?, parameter-encoding?,
19
+ property*, message-destination*, webservice-description*)>
20
+ <!ATTLIST sun-web-app error-url CDATA ""
21
+ httpservlet-security-provider CDATA #IMPLIED>
22
+
23
+ <!--
24
+ Idempotent URL Patterns
25
+ url-pattern URL Pattern of the idempotent requests
26
+ num-of-retries Specifies the number of times the Load Balancer will retry a request that is idempotent.
27
+ -->
28
+ <!ELEMENT idempotent-url-pattern EMPTY>
29
+ <!ATTLIST idempotent-url-pattern url-pattern CDATA #REQUIRED
30
+ num-of-retries CDATA "-1">
31
+
32
+ <!--
33
+ Context Root for the web application when the war file is a standalone module.
34
+ When the war module is part of the Java EE Application, use the application.xml
35
+ -->
36
+ <!ELEMENT context-root (#PCDATA)>
37
+
38
+ <!ELEMENT security-role-mapping (role-name, (principal-name | group-name)+)>
39
+ <!ELEMENT role-name (#PCDATA)>
40
+
41
+ <!ELEMENT principal-name (#PCDATA)>
42
+ <!ATTLIST principal-name class-name CDATA #IMPLIED>
43
+ <!ELEMENT group-name (#PCDATA)>
44
+
45
+ <!ELEMENT servlet (servlet-name, principal-name?, webservice-endpoint*)>
46
+
47
+ <!ELEMENT session-config (session-manager?, session-properties?, cookie-properties?)>
48
+
49
+ <!ENTITY % persistence-type "(memory | file | custom | ha | s1ws60 | mmap | replicated)">
50
+
51
+ <!ELEMENT session-manager (manager-properties?, store-properties?)>
52
+ <!ATTLIST session-manager persistence-type CDATA "memory">
53
+
54
+ <!ELEMENT manager-properties (property*)>
55
+ <!ELEMENT store-properties (property*)>
56
+ <!ELEMENT session-properties (property*)>
57
+ <!ELEMENT cookie-properties (property*)>
58
+
59
+ <!ELEMENT jndi-name (#PCDATA)>
60
+
61
+ <!ELEMENT resource-env-ref (resource-env-ref-name, jndi-name)>
62
+ <!ELEMENT resource-env-ref-name (#PCDATA)>
63
+
64
+ <!ELEMENT resource-ref (res-ref-name, jndi-name, default-resource-principal?)>
65
+ <!ELEMENT res-ref-name (#PCDATA)>
66
+
67
+ <!ELEMENT default-resource-principal ( name, password)>
68
+
69
+ <!--
70
+ This node holds information about a logical message destination
71
+ -->
72
+ <!ELEMENT message-destination (message-destination-name, jndi-name)>
73
+
74
+ <!--
75
+ This node holds the name of a logical message destination
76
+ -->
77
+ <!ELEMENT message-destination-name (#PCDATA)>
78
+
79
+ <!--
80
+ message-destination-ref is used to directly bind a message destination reference
81
+ to the jndi-name of a Queue,Topic, or some other physical destination. It should
82
+ only be used when the corresponding message destination reference does not
83
+ specify a message-destination-link to a logical message-destination.
84
+ -->
85
+ <!ELEMENT message-destination-ref (message-destination-ref-name, jndi-name)>
86
+
87
+ <!--
88
+ name of a message-destination reference.
89
+ -->
90
+ <!ELEMENT message-destination-ref-name (#PCDATA)>
91
+
92
+ <!--
93
+ This text nodes holds a name string.
94
+ -->
95
+ <!ELEMENT name (#PCDATA)>
96
+
97
+ <!--
98
+ This element holds password text.
99
+ -->
100
+ <!ELEMENT password (#PCDATA)>
101
+
102
+
103
+ <!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
104
+ <!ELEMENT ejb-ref-name (#PCDATA)>
105
+
106
+ <!ENTITY % scope "(context.attribute | request.header | request.parameter |
107
+ request.cookie | request.attribute | session.attribute)">
108
+ <!ENTITY % key-scope "(context.attribute | request.header | request.parameter |
109
+ request.cookie | session.id | session.attribute)">
110
+ <!ENTITY % expr "(equals | greater | lesser | not-equals | in-range)">
111
+
112
+ <!-- cache element configures the cache for web application. iAS 7.0 web container
113
+ supports one such cache object per application: i.e. <cache> is a sub element
114
+ of <ias-web-app>. A cache can have zero or more cache-mapping elements and
115
+ zero or more customizable cache-helper classes.
116
+
117
+ max-entries Maximum number of entries this cache may hold. [4096]
118
+ timeout-in-seconds Default timeout for the cache entries in seconds. [30]
119
+ enabled Is this cache enabled? [true] The default value is changed to true from 8.1
120
+ -->
121
+ <!ELEMENT cache (cache-helper*, default-helper?, property*, cache-mapping*)>
122
+ <!ATTLIST cache max-entries CDATA "4096"
123
+ timeout-in-seconds CDATA "30"
124
+ enabled %boolean; "true">
125
+
126
+ <!-- cache-helper specifies customizable class which implements CacheHelper interface.
127
+
128
+ name Unique name for the helper class; this is referenced in
129
+ the cache-mapping elements (see below).
130
+ "default" is reserved for the built-in default helper.
131
+ class-name Fully qualified class name of the cache-helper; this class
132
+ must extend the com.sun.appserv.web.CacheHelper class.
133
+ -->
134
+ <!ELEMENT cache-helper (property*)>
135
+ <!ATTLIST cache-helper name CDATA #REQUIRED
136
+ class-name CDATA #REQUIRED>
137
+
138
+ <!--
139
+ Default, built-in cache-helper properties
140
+ -->
141
+ <!ELEMENT default-helper (property*)>
142
+
143
+ <!--
144
+ cache-mapping element defines what to be cached, the key to be used, any other
145
+ constraints to be applied and a customizable cache-helper to programmatically
146
+ hook this information.
147
+ -->
148
+ <!ELEMENT cache-mapping ((servlet-name | url-pattern),
149
+ (cache-helper-ref |
150
+ (dispatcher*, timeout?, refresh-field?, http-method*, key-field*, constraint-field*)))>
151
+
152
+ <!--
153
+ servlet-name element defines a named servlet to which this caching is enabled.
154
+ the specified name must be present in the web application deployment descriptor
155
+ (web.xml)
156
+ -->
157
+ <!ELEMENT servlet-name (#PCDATA)>
158
+
159
+ <!--
160
+ url-pattern element specifies the url pattern to which caching is to be enabled.
161
+ See Servlet 2.3 specification section SRV. 11.2 for the applicable patterns.
162
+ -->
163
+ <!ELEMENT url-pattern (#PCDATA)>
164
+
165
+ <!--
166
+ cache-helper-ref s a reference to the cache-helper used by this cache-mapping
167
+ -->
168
+ <!ELEMENT cache-helper-ref (#PCDATA)>
169
+
170
+ <!--
171
+ Specifies the RequestDispatcher methods for which caching is to be
172
+ enabled on the target resource. Valid values are REQUEST, FORWARD, INCLUDE,
173
+ and ERROR (default: REQUEST).
174
+ See SRV.6.2.5 of the Servlet 2.4 Specification for more information.
175
+ -->
176
+ <!ELEMENT dispatcher (#PCDATA)>
177
+
178
+ <!--
179
+ timeout element defines the cache timeout in seconds applicable for this mapping.
180
+ default is to use cache object's timeout. The timeout value is specified statically
181
+ ere (e.g. <timeout> 60 </timeout> or dynamically via fields in the relevant scope.
182
+
183
+ name Name of the field where this timeout could be found
184
+ scope Scope of the field. default scope is request attribute.
185
+ -->
186
+ <!ELEMENT timeout (#PCDATA)>
187
+ <!ATTLIST timeout name CDATA #IMPLIED
188
+ scope %scope; 'request.attribute'>
189
+
190
+ <!--
191
+ http-method specifies HTTP method eligible for caching default is GET.
192
+ -->
193
+ <!ELEMENT http-method (#PCDATA)>
194
+
195
+ <!--
196
+ specifies the request parameter name that triggers refresh. the cached entry
197
+ is refreshed when there such a request parameter is set to "true"
198
+ example:
199
+ <cache-mapping>
200
+ <url-pattern> /quote </url-pattern>
201
+ <refresh-field name="refresh" scope="request.parameter"/>
202
+ </cache-mapping>
203
+ -->
204
+ <!ELEMENT refresh-field EMPTY>
205
+ <!ATTLIST refresh-field name CDATA #REQUIRED
206
+ scope %key-scope; 'request.parameter'>
207
+ <!--
208
+ key-field specifies a component of the key; container looks for the named
209
+ field in the given scope to access the cached entry. Default is to use
210
+ the Servlet Path (the path section that corresponds to the servlet mapping
211
+ which activated this request). See Servlet 2.3 specification section SRV 4.4
212
+ on Servlet Path.
213
+
214
+ name Name of the field to look for in the given scope
215
+ scope Scope of the field. default scope is request parameter.
216
+ -->
217
+ <!ELEMENT key-field EMPTY>
218
+ <!ATTLIST key-field name CDATA #REQUIRED
219
+ scope %key-scope; 'request.parameter'>
220
+
221
+ <!--
222
+ constraint-field specifies a field whose value is used as a cacheability constraint.
223
+
224
+ name Name of the field to look for in the given scope
225
+ scope Scope of the field. Default scope is request parameter.
226
+ cache-on-match Should this constraint check pass, is the response cacheable?
227
+ Default is true (i.e. cache the response on success match).
228
+ Useful to turn off caching when there is an attribute in the
229
+ scope (e.g. don't cache when there is an attribute called UID
230
+ in the session.attribute scope).
231
+ cache-on-match-failure Should the constraint check fail, is response not cacheable?
232
+ Default is false (i.e. a failure in enforcing the constraint
233
+ would negate caching). Useful to turn on caching when the
234
+ an an attribute is not present (e.g. turn on caching
235
+ when there is no session or session attribute called UID).
236
+
237
+ Example 1: don't cache when there is a session attribute
238
+ <constraint-field name="UID" scope="session.attribute" cache-on-match="false">
239
+
240
+ Example 2: do cache only when there is no session attribute
241
+ <constraint-field name="UID" scope="session.attribute"
242
+ cache-on-match-failure="false">
243
+ -->
244
+ <!ELEMENT constraint-field (constraint-field-value*)>
245
+ <!ATTLIST constraint-field name CDATA #REQUIRED
246
+ scope %scope; 'request.parameter'
247
+ cache-on-match %boolean; 'true'
248
+ cache-on-match-failure %boolean; 'false'>
249
+
250
+ <!--
251
+ value element specifies the applicable value and a matching expression for a constraint-field
252
+ match-expr Expression used to match the value. Default is 'equals'.
253
+
254
+ Example 1: cache when the category matches with any value other than a specific value
255
+ <constraint-field name="category" scope="request.parameter>
256
+ <value match-expr="equals" cache-on-match-failure="true">
257
+ bogus
258
+ </value>
259
+ </constraint-field>
260
+ -->
261
+ <!ELEMENT constraint-field-value (#PCDATA)>
262
+ <!ATTLIST constraint-field-value match-expr %expr; 'equals'
263
+ cache-on-match %boolean; 'true'
264
+ cache-on-match-failure %boolean; 'false'>
265
+
266
+ <!--
267
+ The class-loader element allows developers to customize the behaviour
268
+ of their web application's classloader.
269
+
270
+ attributes
271
+ extra-class-path List of comma-separated JAR files to be
272
+ added to the web application's class path
273
+ delegate If set to false, the delegation behavior
274
+ of the web application's classloader complies
275
+ with the Servlet 2.3 specification,
276
+ section 9.7.2, and gives preference to classes
277
+ and resources within the WAR file or the
278
+ extra-class-path over those higher up in the
279
+ classloader hierarchy, unless those classes or
280
+ resources are part of the Java EE platform.
281
+ If set to its default value of true, classes
282
+ and resources residing in container-wide library
283
+ JAR files are loaded in preference to classes
284
+ and resources packaged within the WAR file or
285
+ specified on the extra-class-path.
286
+ dynamic-reload-interval Not supported. Included for backward
287
+ compatibility with previous Sun Java System
288
+ Web Server versions
289
+ -->
290
+ <!ELEMENT class-loader (property*)>
291
+ <!ATTLIST class-loader extra-class-path CDATA #IMPLIED
292
+ delegate %boolean; 'true'
293
+ dynamic-reload-interval CDATA #IMPLIED >
294
+
295
+ <!ELEMENT jsp-config (property*)>
296
+
297
+ <!ELEMENT locale-charset-info (locale-charset-map+, parameter-encoding?)>
298
+ <!ATTLIST locale-charset-info default-locale CDATA #IMPLIED>
299
+
300
+ <!ELEMENT locale-charset-map (description?)>
301
+ <!ATTLIST locale-charset-map locale CDATA #REQUIRED
302
+ agent CDATA #IMPLIED
303
+ charset CDATA #REQUIRED>
304
+
305
+ <!ELEMENT parameter-encoding EMPTY>
306
+ <!ATTLIST parameter-encoding form-hint-field CDATA #IMPLIED
307
+ default-charset CDATA #IMPLIED>
308
+
309
+ <!--
310
+ Syntax for supplying properties as name value pairs
311
+ -->
312
+ <!ELEMENT property (description?)>
313
+ <!ATTLIST property name CDATA #REQUIRED
314
+ value CDATA #REQUIRED>
315
+
316
+ <!ELEMENT description (#PCDATA)>
317
+
318
+ <!--
319
+ This text nodes holds a value string.
320
+ -->
321
+ <!ELEMENT value (#PCDATA)>
322
+
323
+
324
+ <!--
325
+ W E B S E R V I C E S
326
+ -->
327
+ <!--
328
+ Runtime settings for a web service reference. In the simplest case,
329
+ there is no runtime information required for a service ref. Runtime info
330
+ is only needed in the following cases :
331
+ * to define the port that should be used to resolve a container-managed port
332
+ * to define default Stub/Call property settings for Stub objects
333
+ * to define the URL of a final WSDL document to be used instead of
334
+ the one packaged with a service-ref
335
+ -->
336
+ <!ELEMENT service-ref ( service-ref-name, port-info*, call-property*, wsdl-override?, service-impl-class?, service-qname? )>
337
+
338
+ <!--
339
+ Coded name (relative to java:comp/env) for a service-reference
340
+ -->
341
+ <!ELEMENT service-ref-name ( #PCDATA )>
342
+
343
+ <!--
344
+ Information for a port within a service-reference.
345
+
346
+ Either service-endpoint-interface or wsdl-port or both
347
+ (service-endpoint-interface and wsdl-port) should be specified.
348
+
349
+ If both are specified, wsdl-port represents the
350
+ port the container should choose for container-managed port selection.
351
+
352
+ The same wsdl-port value must not appear in
353
+ more than one port-info entry within the same service-ref.
354
+
355
+ If a particular service-endpoint-interface is using container-managed port
356
+ selection, it must not appear in more than one port-info entry
357
+ within the same service-ref.
358
+
359
+ The optional message-security-binding element is used to customize the
360
+ port to provider binding; either by binding the port to a specific provider
361
+ or by providing a definition of the message security requirements to be
362
+ enforced by the provider.
363
+
364
+ -->
365
+ <!ELEMENT port-info ( service-endpoint-interface?, wsdl-port?, stub-property*, call-property*, message-security-binding? )>
366
+
367
+ <!--
368
+ Fully qualified name of service endpoint interface
369
+ -->
370
+ <!ELEMENT service-endpoint-interface ( #PCDATA )>
371
+ <!--
372
+ Port used in port-info.
373
+ -->
374
+ <!ELEMENT wsdl-port ( namespaceURI, localpart )>
375
+
376
+ <!--
377
+ JAXRPC property values that should be set on a stub before it's returned to
378
+ to the web service client. The property names can be any properties supported
379
+ by the JAXRPC Stub implementation. See javadoc for javax.xml.rpc.Stub
380
+ -->
381
+ <!ELEMENT stub-property ( name, value )>
382
+
383
+ <!--
384
+ JAXRPC property values that should be set on a Call object before it's
385
+ returned to the web service client. The property names can be any
386
+ properties supported by the JAXRPC Call implementation. See javadoc
387
+ for javax.xml.rpc.Call
388
+ -->
389
+ <!ELEMENT call-property ( name, value )>
390
+
391
+ <!--
392
+ This is a valid URL pointing to a final WSDL document. It is optional.
393
+ If specified, the WSDL document at this URL will be used during
394
+ deployment instead of the WSDL document associated with the
395
+ service-ref in the standard deployment descriptor.
396
+
397
+ Examples :
398
+
399
+ // available via HTTP
400
+ <wsdl-override>http://localhost:8000/myservice/myport?WSDL</wsdl-override>
401
+
402
+ // in a file
403
+ <wsdl-override>file:/home/user1/myfinalwsdl.wsdl</wsdl-override>
404
+
405
+ -->
406
+ <!ELEMENT wsdl-override ( #PCDATA )>
407
+
408
+ <!--
409
+ Name of generated service implementation class. This is not set by the
410
+ deployer. It is derived during deployment.
411
+ -->
412
+ <!ELEMENT service-impl-class ( #PCDATA )>
413
+
414
+ <!--
415
+ The service-qname element declares the specific WSDL service
416
+ element that is being refered to. It is not set by the deployer.
417
+ It is derived during deployment.
418
+ -->
419
+ <!ELEMENT service-qname (namespaceURI, localpart)>
420
+
421
+ <!--
422
+ Runtime information about a web service.
423
+
424
+ wsdl-publish-location is optionally used to specify
425
+ where the final wsdl and any dependent files should be stored. This location
426
+ resides on the file system from which deployment is initiated.
427
+
428
+ -->
429
+ <!ELEMENT webservice-description ( webservice-description-name, wsdl-publish-location? )>
430
+
431
+ <!--
432
+ Unique name of a webservice within a module
433
+ -->
434
+ <!ELEMENT webservice-description-name ( #PCDATA )>
435
+
436
+ <!--
437
+ file: URL of a directory to which a web-service-description's wsdl should be
438
+ published during deployment. Any required files will be published to this
439
+ directory, preserving their location relative to the module-specific
440
+ wsdl directory(META-INF/wsdl or WEB-INF/wsdl).
441
+
442
+ Example :
443
+
444
+ For an ejb.jar whose webservices.xml wsdl-file element contains
445
+ META-INF/wsdl/a/Foo.wsdl
446
+
447
+ <wsdl-publish-location>file:/home/user1/publish
448
+ </wsdl-publish-location>
449
+
450
+ The final wsdl will be stored in /home/user1/publish/a/Foo.wsdl
451
+
452
+ -->
453
+ <!ELEMENT wsdl-publish-location ( #PCDATA )>
454
+
455
+ <!--
456
+ Information about a web service endpoint.
457
+
458
+ The optional message-security-binding element is used to customize the
459
+ webservice-endpoint to provider binding; either by binding the
460
+ webservice-endpoint to a specific provider or by providing a
461
+ definition of the message security requirements to be enforced by the
462
+ provider.
463
+
464
+ When login-config is specified, a default message-security provider
465
+ is not applied to the endpoint.
466
+ -->
467
+ <!ELEMENT webservice-endpoint ( port-component-name, endpoint-address-uri?, (login-config | message-security-binding)?, transport-guarantee?, service-qname?, tie-class?, servlet-impl-class?, debugging-enabled? )>
468
+
469
+ <!--
470
+ Unique name of a port component within a module
471
+ -->
472
+ <!ELEMENT port-component-name ( #PCDATA )>
473
+
474
+ <!--
475
+ Relative path combined with web server root to form fully qualified
476
+ endpoint address for a web service endpoint. For servlet endpoints, this
477
+ value is relative to the servlet's web application context root. In
478
+ all cases, this value must be a fixed pattern(i.e. no "*" allowed).
479
+ If the web service endpoint is a servlet that only implements a single
480
+ endpoint has only one url-pattern, it is not necessary to set
481
+ this value since the container can derive it from web.xml.
482
+ -->
483
+ <!ELEMENT endpoint-address-uri ( #PCDATA )>
484
+
485
+ <!--
486
+ The name of tie implementation class for a port-component. This is
487
+ not specified by the deployer. It is derived during deployment.
488
+ -->
489
+ <!ELEMENT tie-class (#PCDATA)>
490
+
491
+ <!--
492
+ Optional authentication configuration for an EJB web service endpoint.
493
+ Not needed for servet web service endpoints. Their security configuration
494
+ is contained in the standard web application descriptor.
495
+ -->
496
+ <!ELEMENT login-config ( auth-method )>
497
+
498
+ <!--
499
+ The auth-method element is used to configure the authentication
500
+ mechanism for the web application. As a prerequisite to gaining access
501
+ to any web resources which are protected by an authorization
502
+ constraint, a user must have authenticated using the configured
503
+ mechanism.
504
+ -->
505
+
506
+ <!ELEMENT auth-method (#PCDATA)>
507
+
508
+ <!--
509
+ Name of application-written servlet impl class contained in deployed war.
510
+ This is not set by the deployer. It is derived by the container
511
+ during deployment.
512
+ -->
513
+ <!ELEMENT servlet-impl-class (#PCDATA)>
514
+
515
+ <!--
516
+ Specify whether or not the debugging servlet should be enabled for this
517
+ Web Service endpoint.
518
+
519
+ Supported values : "true" to debug the endpoint
520
+ -->
521
+ <!ELEMENT debugging-enabled (#PCDATA)>
522
+
523
+ <!--
524
+ The transport-guarantee element specifies that the communication
525
+ between client and server should be NONE, INTEGRAL, or
526
+ CONFIDENTIAL. NONE means that the application does not require any
527
+ transport guarantees. A value of INTEGRAL means that the application
528
+ requires that the data sent between the client and server be sent in
529
+ such a way that it can't be changed in transit. CONFIDENTIAL means
530
+ that the application requires that the data be transmitted in a
531
+ fashion that prevents other entities from observing the contents of
532
+ the transmission. In most cases, the presence of the INTEGRAL or
533
+ CONFIDENTIAL flag will indicate that the use of SSL is required.
534
+ -->
535
+
536
+ <!ELEMENT transport-guarantee (#PCDATA)>
537
+
538
+ <!--
539
+ Runtime settings for a web service reference. In the simplest case,
540
+ there is no runtime information required for a service ref. Runtime info
541
+ is only needed in the following cases :
542
+ * to define the port that should be used to resolve a container-managed port
543
+ * to define default Stub/Call property settings for Stub objects
544
+ * to define the URL of a final WSDL document to be used instead of
545
+ the one packaged with a service-ref
546
+ -->
547
+
548
+ <!--
549
+ The localpart element indicates the local part of a QNAME.
550
+ -->
551
+ <!ELEMENT localpart (#PCDATA)>
552
+
553
+ <!--
554
+ The namespaceURI element indicates a URI.
555
+ -->
556
+ <!ELEMENT namespaceURI (#PCDATA)>
557
+
558
+ <!--
559
+ The message-layer entity is used to define the value of the
560
+ auth-layer attribute of message-security-binding elements.
561
+
562
+ Used in: message-security-binding
563
+ -->
564
+ <!ENTITY % message-layer "(SOAP)">
565
+
566
+ <!--
567
+ The message-security-binding element is used to customize the
568
+ webservice-endpoint or port to provider binding; either by binding the
569
+ webservice-endpoint or port to a specific provider or by providing a
570
+ definition of the message security requirements to be enforced by the
571
+ provider.
572
+
573
+ These elements are typically NOT created as a result of the
574
+ deployment of an application. They need only be created when the
575
+ deployer or system administrator chooses to customize the
576
+ webservice-endpoint or port to provider binding.
577
+
578
+ The optional (repeating) message-security sub-element is used
579
+ to accomplish the latter; in which case the specified
580
+ message-security requirements override any defined with the
581
+ provider.
582
+
583
+ The auth-layer attribute identifies the message layer at which the
584
+ message-security requirements are to be enforced.
585
+
586
+ The optional provider-id attribute identifies the provider-config
587
+ and thus the authentication provider that is to be used to satisfy
588
+ the application specific message security requirements. If a value for
589
+ the provider-id attribute is not specified, and a default
590
+ provider is defined for the message layer, then it is used.
591
+ if a value for the provider-id attribute is not specified, and a
592
+ default provider is not defined at the layer, the authentication
593
+ requirements defined in the message-security-binding are not
594
+ enforced.
595
+
596
+ Default:
597
+ Used in: webservice-endpoint, port-info
598
+ -->
599
+ <!ELEMENT message-security-binding ( message-security* )>
600
+ <!ATTLIST message-security-binding
601
+ auth-layer %message-layer; #REQUIRED
602
+ provider-id CDATA #IMPLIED >
603
+
604
+ <!--
605
+ The message-security element describes message security requirements
606
+ that pertain to the request and response messages of the containing
607
+ endpoint, or port
608
+
609
+ When contained within a webservice-endpoint this element describes
610
+ the message security requirements that pertain to the request and
611
+ response messages of the containing endpoint. When contained within a
612
+ port-info of a service-ref this element describes the message security
613
+ requirements of the port of the referenced service.
614
+
615
+ The one or more contained message elements define the methods or operations
616
+ of the containing application, endpoint, or referenced service to which
617
+ the message security requirements apply.
618
+
619
+ Multiple message-security elements occur within a containing
620
+ element when it is necessary to define different message
621
+ security requirements for different messages within the encompassing
622
+ context. In such circumstances, the peer elements should not overlap
623
+ in the messages they pertain to. If there is any overlap in the
624
+ identified messages, no message security requirements apply to
625
+ the messages for which more than one message-security element apply.
626
+
627
+ Also, no message security requirements apply to any messages of
628
+ the encompassing context that are not identified by a message element.
629
+
630
+ Default:
631
+ Used in: webservice-endpoint, and port-info
632
+ -->
633
+ <!ELEMENT message-security ( message+, request-protection?, response-protection? )>
634
+
635
+ <!--
636
+ The message element identifies the methods or operations to which
637
+ the message security requirements apply.
638
+
639
+ The identified methods or operations are methods or operations of
640
+ the resource identified by the context in which the message-security
641
+ element is defined (e.g. the the resource identified by the
642
+ service-qname of the containing webservice-endpoint or service-ref).
643
+
644
+ An empty message element indicates that the security requirements
645
+ apply to all the methods or operations of the identified resource.
646
+
647
+ When operation-name is specified, the security
648
+ requirements defined in the containing message-security
649
+ element apply to all the operations of the endpoint
650
+ with the specified (and potentially overloaded) operation name.
651
+
652
+ Default:
653
+ Used in: message-security
654
+ -->
655
+ <!ELEMENT message ( java-method? | operation-name? )>
656
+
657
+ <!--
658
+ The java-method element is used to identify a method (or methods
659
+ in the case of an overloaded method-name) of the java class
660
+ indicated by the context in which the java-method is contained.
661
+
662
+ Default:
663
+ Used in: message
664
+ -->
665
+ <!ELEMENT java-method ( method-name, method-params? )>
666
+
667
+ <!--
668
+ The operation-name element is used to identify the WSDL name of an
669
+ operation of a web service.
670
+
671
+ Default:
672
+ Used in: message
673
+ -->
674
+ <!ELEMENT operation-name ( #PCDATA )>
675
+
676
+ <!--
677
+ The request-protection element describes the authentication requirements
678
+ that apply to a request.
679
+
680
+ The auth-source attribute defines a requirement for message layer
681
+ sender authentication (e.g. username password) or content authentication
682
+ (e.g. digital signature).
683
+
684
+ The auth-recipient attribute defines a requirement for message
685
+ layer authentication of the reciever of a message to its sender (e.g. by
686
+ XML encryption).
687
+
688
+ The before-content attribute value indicates that recipient
689
+ authentication (e.g. encryption) is to occur before any
690
+ content authentication (e.g. encrypt then sign) with respect
691
+ to the target of the containing auth-policy.
692
+
693
+ An absent request-protection element is the recommended shorthand
694
+ for a request-protection element with unspecified values for both the
695
+ auth-source and auth-recipient attributes.
696
+
697
+ Default:
698
+ Used in: message-security
699
+
700
+ * Expected evolution to support partial message protection:
701
+ *
702
+ * request-protection ( content-auth-policy* )
703
+ *
704
+ * If the request-protection element contains one or more
705
+ * content-auth-policy sub-elements, they define the authentication
706
+ * requirements to be applied to the identified request content. If multiple
707
+ * content-auth-policy sub-elements are defined, a request sender must
708
+ * satisfy the requirements independently, and in the specified order.
709
+ *
710
+ * The content-auth-policy element would be used to associate authentication
711
+ * requirements with the parts of the request or response object identified
712
+ * by the contained method-params or part-name-list sub-elements.
713
+ *
714
+ * The content-auth-policy element would be defined as follows:
715
+ *
716
+ * content-auth-policy ( method-params | part-name-list )
717
+ * ATTLIST content-auth-policy
718
+ * auth-source (sender | content) #IMPLIED
719
+ * auth-recipient (before-content | after-content) #IMPLIED
720
+ *
721
+ * The part-name-list and part-name elements would be defined as follows:
722
+ *
723
+ * part-name-list ( part-name* )
724
+ * part-name ( #PCDATA )
725
+ *
726
+ -->
727
+ <!ELEMENT request-protection EMPTY >
728
+ <!ATTLIST request-protection
729
+ auth-source (sender | content) #IMPLIED
730
+ auth-recipient (before-content | after-content) #IMPLIED>
731
+
732
+ <!--
733
+ The response-protection element describes the authentication requirements
734
+ that apply to a response.
735
+
736
+ The auth-source attribute defines a requirement for message layer
737
+ sender authentication (e.g. username password) or content authentication
738
+ (e.g. digital signature).
739
+
740
+ The auth-recipient attribute defines a requirement for message
741
+ layer authentication of the reciever of a message to its sender (e.g. by
742
+ XML encryption).
743
+
744
+ The before-content attribute value indicates that recipient
745
+ authentication (e.g. encryption) is to occur before any
746
+ content authentication (e.g. encrypt then sign) with respect
747
+ to the target of the containing auth-policy.
748
+
749
+ An absent response-protection element is the recommended shorthand
750
+ for a request-protection element with unspecified values for both the
751
+ auth-source and auth-recipient attributes.
752
+
753
+ Default:
754
+ Used in: message-security
755
+
756
+ * Expected evolution to support partial message protection:
757
+ *
758
+ * response-protection ( content-auth-policy* )
759
+ *
760
+ * see request-protection element for more details
761
+ *
762
+ -->
763
+ <!ELEMENT response-protection EMPTY >
764
+ <!ATTLIST response-protection
765
+ auth-source (sender | content) #IMPLIED
766
+ auth-recipient (before-content | after-content) #IMPLIED>
767
+
768
+ <!--
769
+ The method-name element contains the name of a service method of a web service
770
+ implementation class.
771
+
772
+ Used in: java-method
773
+ -->
774
+ <!ELEMENT method-name (#PCDATA)>
775
+ <!--
776
+ The method-params element contains a list of the fully-qualified Java
777
+ type names of the method parameters.
778
+
779
+ Used in: java-method
780
+ -->
781
+ <!ELEMENT method-params (method-param*)>
782
+
783
+ <!--
784
+ The method-param element contains the fully-qualified Java type name
785
+ of a method parameter.
786
+
787
+ Used in: method-params
788
+ -->
789
+ <!ELEMENT method-param (#PCDATA)>