ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lisc...@apache.org
Subject svn commit: r158859 - in incubator/hermes/trunk/src/examples/broker: BrokerHome.java BrokerResource.java WEB-INF/server-config.wsdd WEB-INF/server-config_wsn.wsdd jndi-config.xml
Date Thu, 24 Mar 2005 02:11:01 GMT
Author: lischke
Date: Wed Mar 23 18:10:59 2005
New Revision: 158859

URL: http://svn.apache.org/viewcvs?view=rev&rev=158859
Log:
small stuff fro broker APP

Added:
    incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config_wsn.wsdd
Modified:
    incubator/hermes/trunk/src/examples/broker/BrokerHome.java
    incubator/hermes/trunk/src/examples/broker/BrokerResource.java
    incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config.wsdd
    incubator/hermes/trunk/src/examples/broker/jndi-config.xml

Modified: incubator/hermes/trunk/src/examples/broker/BrokerHome.java
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/examples/broker/BrokerHome.java?view=diff&r1=158858&r2=158859
==============================================================================
--- incubator/hermes/trunk/src/examples/broker/BrokerHome.java (original)
+++ incubator/hermes/trunk/src/examples/broker/BrokerHome.java Wed Mar 23 18:10:59 2005
@@ -12,7 +12,7 @@
     }
     
     public org.apache.ws.resource.Resource getInstance(org.apache.ws.resource.ResourceContext
resourceContext) throws org.apache.ws.resource.ResourceException, org.apache.ws.resource.ResourceContextException,
org.apache.ws.resource.ResourceUnknownException {
-        return BrokerResource.getInstance();
+        return BrokerResource.getInstance(); 
     }
     
 }

Modified: incubator/hermes/trunk/src/examples/broker/BrokerResource.java
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/examples/broker/BrokerResource.java?view=diff&r1=158858&r2=158859
==============================================================================
--- incubator/hermes/trunk/src/examples/broker/BrokerResource.java (original)
+++ incubator/hermes/trunk/src/examples/broker/BrokerResource.java Wed Mar 23 18:10:59 2005
@@ -5,7 +5,8 @@
 import org.apache.ws.notification.topics.*;
 import org.apache.ws.notification.topics.impl.*;
 
-public class BrokerResource implements org.apache.ws.notification.base.NotificationProducerResource{
   
+import org.apache.ws.eventing.EventSourceResource;
+public class BrokerResource implements EventSourceResource{    
     private static BrokerResource s_ourInstance= new BrokerResource();
     private TopicSpaceSet m_topicSpaceSet;
     //private TopicSpace m_topicSpace;

Modified: incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config.wsdd
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config.wsdd?view=diff&r1=158858&r2=158859
==============================================================================
--- incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config.wsdd (original)
+++ incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config.wsdd Wed Mar 23 18:10:59
2005
@@ -36,9 +36,7 @@
  <service name="SubscriptionManager" provider="java:WSRF" style="document" use="literal">
 </service>
 
- <service name="NotificationPort" provider="java:RPC" style="document" use="literal">
-  <parameter name="className" value="org.apache.ws.notification.base.impl.BrokerService"/>
-  <parameter name="allowedMethods" value="notify"/>
+ <service name="NotificationPort" provider="java:WSRFMsg" style="message" use="literal">
  </service>
 
  <transport name="http">

Added: incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config_wsn.wsdd
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config_wsn.wsdd?view=auto&rev=158859
==============================================================================
--- incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config_wsn.wsdd (added)
+++ incubator/hermes/trunk/src/examples/broker/WEB-INF/server-config_wsn.wsdd Wed Mar 23 18:10:59
2005
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+ <globalConfiguration>
+  <parameter name="adminPassword" value="admin"/>
+  <parameter name="disablePrettyXML" value="true"/>
+  <parameter name="sendXsiTypes" value="true"/>
+  <parameter name="sendMultiRefs" value="true"/>
+  <parameter name="sendXMLDeclaration" value="true"/>
+  <requestFlow>
+   <handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"/>
+  </requestFlow>
+  <responseFlow>
+   <handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"/>
+  </responseFlow>
+ </globalConfiguration>
+ <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+
+ <service name="AdminService" provider="java:MSG">
+  <parameter name="allowedMethods" value="AdminService"/>
+  <parameter name="enableRemoteAdmin" value="false"/>
+  <parameter name="className" value="org.apache.axis.utils.Admin"/>
+  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+
+ <service name="Version" provider="java:RPC">
+  <parameter name="allowedMethods" value="getVersion"/>
+  <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+
+ <service name="NotificationProducer" provider="java:WSRF" style="document" use="literal">
+ </service>
+
+ <service name="SubscriptionManager" provider="java:WSRF" style="document" use="literal">
+</service>
+
+ <service name="NotificationPort" provider="java:RPC" style="document" use="literal">
+  <parameter name="className" value="org.apache.ws.notification.base.impl.BrokerService"/>
+  <parameter name="allowedMethods" value="notify"/>
+ </service>
+
+ <transport name="http">
+  <requestFlow>
+   <handler type="URLMapper"/>
+   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+  </requestFlow>
+  <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
+  <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
+  <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
+  <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+  <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+  <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
+ </transport>
+ <transport name="local">
+  <responseFlow>
+   <handler type="LocalResponder"/>
+  </responseFlow>
+ </transport>
+</deployment>

Modified: incubator/hermes/trunk/src/examples/broker/jndi-config.xml
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/examples/broker/jndi-config.xml?view=diff&r1=158858&r2=158859
==============================================================================
--- incubator/hermes/trunk/src/examples/broker/jndi-config.xml (original)
+++ incubator/hermes/trunk/src/examples/broker/jndi-config.xml Wed Mar 23 18:10:59 2005
@@ -26,7 +26,7 @@
          </resourceParams>
       </resource>
       
-      <resource name="topic/eval/concret" type="org.apache.ws.notification.topics.impl.ConcreteTopicExpressionEvaluator">
+      <resource name="topic/eval/simple" type="org.apache.ws.notification.topics.impl.SimpleTopicExpressionEvaluator">
          <resourceParams>
 	     <parameter>
 		<name>factory</name>
@@ -34,8 +34,7 @@
 	     </parameter>
          </resourceParams>
       </resource>
-      
-      <resource name="topic/eval/simple" type="org.apache.ws.notification.topics.impl.SimpleTopicExpressionEvaluator">
+      <resource name="topic/eval/concret" type="org.apache.ws.notification.topics.impl.ConcreteTopicExpressionEvaluator">
          <resourceParams>
 	     <parameter>
 		<name>factory</name>
@@ -56,34 +55,59 @@
    </global>
 
    <service name="SubscriptionManager">
-      <resource name="home" type="org.apache.ws.notification.base.impl.SubscriptionHome">
+      <resource name="home" type="org.apache.ws.eventing.SubscriptionHome">
          <resourceParams>    
             <parameter>
                <name>serviceClassName</name>
-               <value>org.apache.ws.notification.base.impl.BrokerService</value>
+               <value>org.apache.ws.eventing.services.BrokerService</value>
             </parameter>
             <parameter>
                <name>resourceClassName</name>
-               <value>org.apache.ws.notification.base.v1_2.impl.Subscription1_2Resource</value>
+               <value>org.apache.ws.eventing.Subscription</value>
             </parameter>
             <parameter>
                <name>wsdlTargetNamespace</name>
-               <value>http://ws.apache.org/notification/services/SubscriptionManager</value>
+               <value>http://ws.apache.org/eventing/services/SubscriptionManager</value>
             </parameter>            
             <parameter>
                <name>resourceKeyName</name>
-               <value>{http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification}Identifier</value>
+               <value>{http://schemas.xmlsoap.org/ws/2004/08/eventing}Identifier</value>
             </parameter>
          </resourceParams>
       </resource>
    </service>
-   
-      <service name="NotificationProducer">
+
+   <service name="NotificationProducer">
       <resource name="home" type="BrokerHome">
-         <resourceParams>    
+         <resourceParams>        
+            <parameter>
+               <name>serviceClassName</name>
+               <value>org.apache.ws.eventing.services.BrokerService</value>
+            </parameter>
+            <parameter>
+               <name>resourceClassName</name>
+               <value>BrokerResource</value>
+            </parameter>
+            <parameter>
+               <name>wsdlTargetNamespace</name>
+               <value>http://ws.apache.org/eventing/services/EventSourcePort</value>
+            </parameter>            
+            <!--
+            <parameter>
+               <name>resourceKeyName</name>
+               <value>{http://schemas.xmlsoap.org/ws/2004/08/eventing}Identifier</value>
+            </parameter>
+            -->
+         </resourceParams>
+      </resource>
+   </service>
+
+   <service name="NotificationPort">
+      <resource name="home" type="BrokerHome">
+         <resourceParams>
             <parameter>
                <name>serviceClassName</name>
-               <value>org.apache.ws.notification.base.impl.BrokerService</value>
+               <value>org.apache.ws.eventing.services.BrokerService</value>
             </parameter>
             <parameter>
                <name>resourceClassName</name>
@@ -91,12 +115,12 @@
             </parameter>
             <parameter>
                <name>wsdlTargetNamespace</name>
-               <value>http://ws.apache.org/notification/services/Broker</value>
+               <value>http://ws.apache.org/eventing/services/NotificationPort</value>
             </parameter>            
             <!--
             <parameter>
                <name>resourceKeyName</name>
-               <value>{http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification}Identifier</value>
+               <value>{http://schemas.xmlsoap.org/ws/2004/08/eventing}Identifier</value>
             </parameter>
             -->
          </resourceParams>



---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org


Mime
View raw message