Author: chris.laprun(a)jboss.com
Date: 2008-01-08 20:17:25 -0500 (Tue, 08 Jan 2008)
New Revision: 9462
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/wsrp.xml
Log:
- JBPORTAL-1835: Updated documentation with references to XML Schemas.
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/wsrp.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/wsrp.xml 2008-01-09
01:10:54 UTC (rev 9461)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/wsrp.xml 2008-01-09
01:17:25 UTC (rev 9462)
@@ -325,7 +325,7 @@
<title>Using a WSRP Producer XML descriptor</title>
<para>We will create a
<filename>public-bea-wsrp.xml</filename> descriptor. Note that the actual name
does not
- matter as long as it ends with<filename>-wsrp.xml</filename>:
+ matter as long as it ends with
<filename>-wsrp.xml</filename>:
<example>
<programlisting><![CDATA[
<?xml version='1.0' encoding='UTF-8' ?>
@@ -351,6 +351,10 @@
different elements later. Note for now the
<literal>producer-id</literal> element with a
"<literal>bea</literal>" value. Put this file in the
deploy directory and start the server (with JBoss
Portal and its WSRP service deployed).
+ <note>A DTD and an XML Schema for WSRP Producer XML descriptors are
available in
+
<filename>jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd</filename>
and
+
<filename>jboss-portal.sar/portal-wsrp.sar/xsd/jboss-wsrp-consumer_2_6.xsd</filename>
+ </note>
</para>
</sect3>
@@ -407,11 +411,10 @@
A WSRP Producer descriptor is an XML file which name ends in
<filename>-wsrp.xml</filename> and
which can be dropped in the deploy directory of the JBoss application server
or nested in .sar files. It is
possible to configure access to several different producers within a single
descriptor or use one file per
- producer, depending on your needs. The DTD for the WSRP Producer descriptor
format can be found at
-
<filename>portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd</filename>.
+ producer, depending on your needs. An XML Schema for the WSRP Producer
descriptor format can be found at
+
<filename>jboss-portal.sar/portal-wsrp.sar/xsd/jboss-wsrp-consumer_2_6.xsd</filename>,
while a (legacy) DTD
+ can be found at
<filename>jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-consumer_2_6.dtd</filename>.
- <!--TODO: REPLACE WITH REFERENCE TO SCHEMA INSTEAD.-->
-
<note>It is important to note how WSRP Producer descriptors are
processed. They are read the first time the
WSRP service starts and the associated information is then put in the
Portal database. Subsequent launch
of the WSRP service will use the database-stored information for all
producers which identifier is
@@ -828,7 +831,10 @@
You can configure the behavior of Portal's WSRP Producer by using the
WSRP administration interface, which
is the preferred way, or by editing the
<filename>conf/config.xml</filename> file found in
<filename>portal-wsrp.sar</filename>. Several aspects can be
modified with respects to whether
- registration is required for consumers to access the Producer's
services.
+ registration is required for consumers to access the Producer's services.
An XML Schema for the configuration
+ format is available at
<filename>jboss-portal.sar/portal-wsrp.sar/xsd/jboss-wsrp-producer_2_6.xsd</filename>,
+ while a (legacy) DTD is available at
+
<filename>jboss-portal.sar/portal-wsrp.sar/dtd/jboss-wsrp-producer_2_6.dtd</filename>
</para>
</sect2>
<sect2>
Show replies by date