[jboss-cvs] JBossAS SVN: r59705 - trunk/server/src/resources/dtd.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 17 12:24:35 EST 2007
Author: thomas.diesler at jboss.com
Date: 2007-01-17 12:24:35 -0500 (Wed, 17 Jan 2007)
New Revision: 59705
Added:
trunk/server/src/resources/dtd/service-ref_5_0.dtd
Modified:
trunk/server/src/resources/dtd/jboss-client_5_0.dtd
trunk/server/src/resources/dtd/jboss-web_5_0.dtd
trunk/server/src/resources/dtd/jboss_5_0.dtd
Log:
Externalize service-ref
Modified: trunk/server/src/resources/dtd/jboss-client_5_0.dtd
===================================================================
--- trunk/server/src/resources/dtd/jboss-client_5_0.dtd 2007-01-17 17:08:32 UTC (rev 59704)
+++ trunk/server/src/resources/dtd/jboss-client_5_0.dtd 2007-01-17 17:24:35 UTC (rev 59705)
@@ -12,6 +12,9 @@
"http://www.jboss.org/j2ee/dtd/jboss-client_5_0.dtd">
-->
+<!ENTITY % service-ref SYSTEM "./docs/dtd/service-ref_5_0.dtd">
+%service-ref;
+
<!-- The jboss-client element is the root element.
-->
<!ELEMENT jboss-client (jndi-name, ejb-ref*, service-ref*, resource-ref*,
@@ -120,51 +123,6 @@
-->
<!ELEMENT res-url (#PCDATA)>
-<!-- The service-ref element provides jboss specific deployment values to
-the web service reference in application-client.xml.
-Example:
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
- </service-ref>
-
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <config-name>Secure Client Config</config-name>
- <config-file>META-INF/jbossws-client-config.xml</config-file>
- </service-ref>
--->
-<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, wsdl-override?)>
-
-<!-- The service-ref-name element gives the ENC relative name used by @WebServiceRef.name
-
-Used in: service-ref
--->
-<!ELEMENT service-ref-name (#PCDATA)>
-
-<!-- The optional config-name element gives the client configuration name that must be present in
-the configuration given by element config-file.
-
-The default is: Standard Client
-
-Used in: service-ref
--->
-<!ELEMENT config-name (#PCDATA)>
-
-<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
-The default is: META-INF/standard-jbossws-client-config.xml
-
-Used in: service-ref
--->
-<!ELEMENT config-file (#PCDATA)>
-
-<!-- The wsdl-override element the actual wsdl docuement the web service client
-uses to connect to the remote service. It overrides the value of wsdl-file in ejb-jar.xml.
-
-Used in: service-ref
--->
-<!ELEMENT wsdl-override (#PCDATA)>
-
<!-- message-destination-ref is used to directly bind a message destination reference
to the JNDI name of a Queue, Topic, or some other physical destination. It should
only be used when the corresponding message destination reference does not
Modified: trunk/server/src/resources/dtd/jboss-web_5_0.dtd
===================================================================
--- trunk/server/src/resources/dtd/jboss-web_5_0.dtd 2007-01-17 17:08:32 UTC (rev 59704)
+++ trunk/server/src/resources/dtd/jboss-web_5_0.dtd 2007-01-17 17:24:35 UTC (rev 59705)
@@ -13,6 +13,9 @@
-->
+<!ENTITY % service-ref SYSTEM "./docs/dtd/service-ref_5_0.dtd">
+%service-ref;
+
<!-- The jboss-web element is the root element.
-->
<!ELEMENT jboss-web (class-loading?, security-domain?, context-root?,
@@ -403,48 +406,6 @@
-->
<!ELEMENT replication-field-batch-mode (true|false)>
-<!-- The service-ref element provides jboss specific deployment values to
-the web service reference in web.xml.
-Example:
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
- </service-ref>
-
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <config-name>Secure Client Config</config-name>
- <config-file>META-INF/jbossws-client-config.xml</config-file>
- </service-ref>
--->
-<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, wsdl-override?)>
-
-<!-- The service-ref-name element gives the ENC relative name used by @WebServiceRef.name
-
-Used in: service-ref
--->
-<!ELEMENT service-ref-name (#PCDATA)>
-
-<!-- The optional config-name element gives the client configuration name that must be present in
-the configuration given by element config-file.
-
-Used in: service-ref
--->
-<!ELEMENT config-name (#PCDATA)>
-
-<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
-
-Used in: service-ref
--->
-<!ELEMENT config-file (#PCDATA)>
-
-<!-- The wsdl-override element the actual wsdl docuement the web service client
-uses to connect to the remote service.
-
-Used in: service-ref
--->
-<!ELEMENT wsdl-override (#PCDATA)>
-
<!-- The servlet element specifies servlet specific bindings. Currently this
is only the run-as principal identity.
Modified: trunk/server/src/resources/dtd/jboss_5_0.dtd
===================================================================
--- trunk/server/src/resources/dtd/jboss_5_0.dtd 2007-01-17 17:08:32 UTC (rev 59704)
+++ trunk/server/src/resources/dtd/jboss_5_0.dtd 2007-01-17 17:24:35 UTC (rev 59705)
@@ -144,6 +144,9 @@
</jboss>
-->
+<!ENTITY % service-ref SYSTEM "./docs/dtd/service-ref_5_0.dtd">
+%service-ref;
+
<!--
The jboss element is the root element of the jboss.xml file. It
contains all the information used by jboss but not described in the
@@ -634,48 +637,6 @@
-->
<!ELEMENT ejb-local-ref (ejb-ref-name , local-jndi-name)>
-<!-- The service-ref element provides jboss specific deployment values to
-the web service reference in ejb-jar.xml.
-Example:
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
- </service-ref>
-
- <service-ref>
- <service-ref-name>OrganizationService</service-ref-name>
- <config-name>Secure Client Config</config-name>
- <config-file>META-INF/jbossws-client-config.xml</config-file>
- </service-ref>
--->
-<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, wsdl-override?)>
-
-<!-- The service-ref-name element gives the ENC relative name used by @WebServiceRef.name
-
-Used in: service-ref
--->
-<!ELEMENT service-ref-name (#PCDATA)>
-
-<!-- The optional config-name element gives the client configuration name that must be present in
-the configuration given by element config-file.
-
-Used in: service-ref
--->
-<!ELEMENT config-name (#PCDATA)>
-
-<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
-
-Used in: service-ref
--->
-<!ELEMENT config-file (#PCDATA)>
-
-<!-- The wsdl-override element the actual wsdl docuement the web service client
-uses to connect to the remote service.
-
-Used in: service-ref
--->
-<!ELEMENT wsdl-override ( #PCDATA )>
-
<!--
The security-identity element specifies whether a specific run-as identity is to be
used. If there is a run-as role defined for an enterprise bean, there can also be a
Added: trunk/server/src/resources/dtd/service-ref_5_0.dtd
===================================================================
--- trunk/server/src/resources/dtd/service-ref_5_0.dtd (rev 0)
+++ trunk/server/src/resources/dtd/service-ref_5_0.dtd 2007-01-17 17:24:35 UTC (rev 59705)
@@ -0,0 +1,53 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!--
+ $Id: jboss-client_5_0.dtd 58121 2006-11-04 19:57:58Z thomas.diesler at jboss.com $
+-->
+
+<!--
+ The service-ref element provides jboss specific deployment values to
+ the web service reference in application-client.xml, web.xml, ejb-jar.xml.
+
+ Example:
+ <service-ref>
+ <service-ref-name>OrganizationService</service-ref-name>
+ <wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>OrganizationService</service-ref-name>
+ <config-name>Secure Client Config</config-name>
+ <config-file>META-INF/jbossws-client-config.xml</config-file>
+ </service-ref>
+-->
+<!ELEMENT service-ref (service-ref-name, config-name?, config-file?, wsdl-override?)>
+
+<!-- The service-ref-name element gives the ENC relative name used by @WebServiceRef.name
+
+Used in: service-ref
+-->
+<!ELEMENT service-ref-name (#PCDATA)>
+
+<!-- The optional config-name element gives the client configuration name that must be present in
+the configuration given by element config-file.
+
+The default is: Standard Client
+
+Used in: service-ref
+-->
+<!ELEMENT config-name (#PCDATA)>
+
+<!-- The optional config-file element gives the to a URL or resource name for the client configuration.
+The default is: META-INF/standard-jbossws-client-config.xml
+
+Used in: service-ref
+-->
+<!ELEMENT config-file (#PCDATA)>
+
+<!-- The wsdl-override element the actual wsdl docuement the web service client
+uses to connect to the remote service. It overrides @WebServiceRef.wsdlLocation
+
+Used in: service-ref
+-->
+<!ELEMENT wsdl-override (#PCDATA)>
+
More information about the jboss-cvs-commits
mailing list