[jboss-svn-commits] JBoss Portal SVN: r5315 - in branches/JBoss_Portal_Branch_2_4/wsrp/src/resources: . portal-wsrp-sar

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Oct 3 16:43:05 EDT 2006


Author: chris.laprun at jboss.com
Date: 2006-10-03 16:43:03 -0400 (Tue, 03 Oct 2006)
New Revision: 5315

Added:
   branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/jboss-portal-wsrp.dtd
Modified:
   branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/portal-wsrp-sar/default-wsrp.xml
Log:
- Added DTD (forgot to backport).
- Updated default-wsrp.xml to remind people to change the consumer name to something unique.

Added: branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/jboss-portal-wsrp.dtd
===================================================================
--- branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/jboss-portal-wsrp.dtd	2006-10-03 19:58:26 UTC (rev 5314)
+++ branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/jboss-portal-wsrp.dtd	2006-10-03 20:43:03 UTC (rev 5315)
@@ -0,0 +1,81 @@
+<!--
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+-->
+
+<!--
+JBoss Portal's WSRP Remote Producer Configuration deployment descriptor for the *-wsrp.xml files used by Portal to be
+able to consume WSRP portlets exposed by a remote producer.
+author: <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
+version: 1.0 (Portal 2.4)
+revision: $Revision: 5309 $
+-->
+
+<!-- The root element. Contains deployment elements. -->
+<!ELEMENT deployments ( deployment* )>
+
+<!-- Deployment related information. As of 1.0 (Portal 2.4), the only deployment information relates to WSRP producers. -->
+<!ELEMENT deployment ( wsrp-producer )>
+
+<!-- The WSRP producer information. -->
+<!ELEMENT wsrp-producer ( producer-id, expiration-cache?, ( endpoint-config | endpoint-wsdl-url ), registration-data? )>
+
+<!-- The producer identifier. This should be unique for a given Portal deployment. The identifier is used to
+identify the portlet provider in the management interface. -->
+<!ELEMENT producer-id ( #PCDATA )>
+
+<!-- The period of producer information (such as list of offered portlets) cache refreshing in seconds. -->
+<!ELEMENT expiration-cache ( #PCDATA )>
+
+<!-- WSRP endpoints configuration information by interface URL. Mutually exclusive with endpoint-wsdl-url. -->
+<!ELEMENT endpoint-config ( service-description-url, markup-url, registration-url?, portlet-management-url? )>
+
+<!-- The URL for the service description interface endpoint on the remote producer. -->
+<!ELEMENT service-description-url ( #PCDATA )>
+
+<!-- The URL for the markup interface endpoint on the remote producer. -->
+<!ELEMENT markup-url ( #PCDATA )>
+
+<!-- The URL for the optional portlet management interface endpoint on the remote producer. -->
+<!ELEMENT portlet-management-url ( #PCDATA )>
+
+<!-- The URL for the optional registration interface endpoint on the remote producer. -->
+<!ELEMENT registration-url ( #PCDATA )>
+
+<!-- The URL of the WSDL description of the producer's WSRP services. Mutally exclusive with endpoint-config. -->
+<!ELEMENT endpoint-wsdl-url ( #PCDATA )>
+
+<!-- Container for registration information. -->
+<!ELEMENT registration-data ( consumer-name, property* )>
+
+<!-- A name (preferably unique) that identifies the Consumer. An example of such a name would be the Consumer's URL. -->
+<!ELEMENT consumer-name ( #PCDATA )>
+
+<!-- A registration property. -->
+<!ELEMENT property ( name, lang, value )>
+
+<!-- The name of the property. -->
+<!ELEMENT name ( #PCDATA )>
+
+<!-- The language the property is in. -->
+<!ELEMENT lang ( #PCDATA )>
+
+<!-- The value of the property. -->
+<!ELEMENT value ( #PCDATA )>
\ No newline at end of file

Modified: branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/portal-wsrp-sar/default-wsrp.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/portal-wsrp-sar/default-wsrp.xml	2006-10-03 19:58:26 UTC (rev 5314)
+++ branches/JBoss_Portal_Branch_2_4/wsrp/src/resources/portal-wsrp-sar/default-wsrp.xml	2006-10-03 20:43:03 UTC (rev 5315)
@@ -1,3 +1,5 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
 <deployments>
    <deployment>
       <wsrp-producer>
@@ -17,7 +19,7 @@
          <expiration-cache>120</expiration-cache>
          <endpoint-wsdl-url>http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL</endpoint-wsdl-url>
          <registration-data>
-            <consumer-name>JBoss Portal 2.4 Test</consumer-name>
+            <consumer-name>Change this to something that uniquely identifies your consumer</consumer-name>
          </registration-data>
       </wsrp-producer>
    </deployment>-->
@@ -27,7 +29,7 @@
       <expiration-cache>120</expiration-cache>
       <endpoint-wsdl-url>http://wsrpdemo.vignette.com:8080/producer/wsdl</endpoint-wsdl-url>
       <registration-data>
-         <consumer-name>JBoss Portal 2.4 Test</consumer-name>
+         <consumer-name>Change this to something that uniquely identifies your consumer</consumer-name>
          <property>
             <name>com.vignette.wsrp.registration.username</name>
             <lang>en</lang>
@@ -47,7 +49,7 @@
          <expiration-cache>120</expiration-cache>
          <endpoint-wsdl-url>http://wsrp.bea.com:7001/producer/producer?WSDL</endpoint-wsdl-url>
          <registration-data>
-            <consumer-name>JBoss Portal 2.4 Test</consumer-name>
+            <consumer-name>Change this to something that uniquely identifies your consumer</consumer-name>
             <property>
                <name>registration/consumerRole</name>
                <lang>en</lang>
@@ -62,7 +64,7 @@
          <expiration-cache>120</expiration-cache>
          <endpoint-wsdl-url>http://portalstandards.oracle.com/portletapp/portlets?WSDL</endpoint-wsdl-url>
          <registration-data>
-            <consumer-name>JBoss Portal 2.4 Test</consumer-name>
+            <consumer-name>Change this to something that uniquely identifies your consumer</consumer-name>
          </registration-data>
       </wsrp-producer>
    </deployment>-->




More information about the jboss-svn-commits mailing list