You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by ip...@apache.org on 2005/08/23 18:46:57 UTC

svn commit: r239432 - in /webservices/pubscribe/trunk/src: java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java site/content/xdocs/release.xml

Author: ips
Date: Tue Aug 23 09:46:55 2005
New Revision: 239432

URL: http://svn.apache.org/viewcvs?rev=239432&view=rev
Log:
download URL now points to closer.cgi

Modified:
    webservices/pubscribe/trunk/src/java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java
    webservices/pubscribe/trunk/src/site/content/xdocs/release.xml

Modified: webservices/pubscribe/trunk/src/java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java?rev=239432&r1=239431&r2=239432&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java (original)
+++ webservices/pubscribe/trunk/src/java/org/apache/ws/eventing/porttype/impl/EventSourcePortTypeImpl.java Tue Aug 23 09:46:55 2005
@@ -18,9 +18,8 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.XmlObjectWrapper;
-
-//import org.apache.ws.notification.topics.*;
-import org.apache.ws.addressing.*;
+import org.apache.ws.addressing.EndpointReference;
+import org.apache.ws.addressing.XmlBeansEndpointReference;
 import org.apache.ws.eventing.ForwardConsumer;
 import org.apache.ws.eventing.ForwardEndConsumer;
 import org.apache.ws.eventing.Subscription;
@@ -28,21 +27,14 @@
 import org.apache.ws.eventing.porttype.EventSourcePortType;
 import org.apache.ws.pubsub.Filter;
 import org.apache.ws.pubsub.FilterFactory;
-import org.apache.ws.pubsub.TopicFilter;
-
-//ws-topics stuff
-//import org.apache.ws.notification.topics.impl.SimpleSubscriptionTopicListener;
-import org.apache.ws.resource.ResourceContext;
 import org.xmlsoap.schemas.ws.x2004.x08.addressing.EndpointReferenceType;
 import org.xmlsoap.schemas.ws.x2004.x08.eventing.SubscribeDocument;
 import org.xmlsoap.schemas.ws.x2004.x08.eventing.SubscribeResponseDocument;
+
 import javax.naming.Context;
 import javax.naming.InitialContext;
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPException;
 import java.rmi.RemoteException;
 import java.util.Calendar;
-import java.util.Collection;
 
 /**
  * DOCUMENT_ME
@@ -68,10 +60,8 @@
       try
       {
          //create Subscription
-         Context initialContext = new InitialContext(  );
-
          //System.out.println("get RemoteResourceSubscriptionHome " + RemoteSubscriptionHome.HOME_LOCATION);
-         SubscriptionHome sH = (SubscriptionHome) initialContext.lookup( SubscriptionHome.HOME_LOCATION );
+         SubscriptionHome sH = (SubscriptionHome) new InitialContext(  ).lookup( SubscriptionHome.HOME_LOCATION );
 
          //create NotifyTO EPR
          EndpointReference notifyto = null;

Modified: webservices/pubscribe/trunk/src/site/content/xdocs/release.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/site/content/xdocs/release.xml?rev=239432&r1=239431&r2=239432&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/site/content/xdocs/release.xml (original)
+++ webservices/pubscribe/trunk/src/site/content/xdocs/release.xml Tue Aug 23 09:46:55 2005
@@ -12,8 +12,8 @@
     <section>
        <title>v1.0</title>
        <ul>
-          <li>Download: <a href="http://www.apache.org/dist/ws/pubscribe/1.0/bin/">binary distribution</a>,         
-                        <a href="http://www.apache.org/dist/ws/pubscribe/1.0/src/">source distribution</a></li>
+          <li>Download: <a href="http://www.apache.org/dyn/closer.cgi/ws/pubscribe/1.0/bin/">binary distribution</a>,         
+                        <a href="http://www.apache.org/dyn/closer.cgi/ws/pubscribe/1.0/src/">source distribution</a></li>
        </ul>
     </section>  
     <section>