ws-savan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r560901 - in /webservices/savan/trunk/c: samples/client/subscriber/ samples/server/ samples/server/publisher/ src/data/ src/subscribers/ src/util/
Date Mon, 30 Jul 2007 09:24:53 GMT
Author: damitha
Date: Mon Jul 30 02:24:52 2007
New Revision: 560901

URL: http://svn.apache.org/viewvc?view=rev&rev=560901
Log:
temporarily removed savan filtering support

Modified:
    webservices/savan/trunk/c/samples/client/subscriber/subscriber.c
    webservices/savan/trunk/c/samples/server/Makefile.am
    webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c
    webservices/savan/trunk/c/src/data/module.xml
    webservices/savan/trunk/c/src/subscribers/Makefile.am
    webservices/savan/trunk/c/src/subscribers/savan_subscriber.c
    webservices/savan/trunk/c/src/util/Makefile.am
    webservices/savan/trunk/c/src/util/savan_util.c

Modified: webservices/savan/trunk/c/samples/client/subscriber/subscriber.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/samples/client/subscriber/subscriber.c?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/samples/client/subscriber/subscriber.c (original)
+++ webservices/savan/trunk/c/samples/client/subscriber/subscriber.c Mon Jul 30 02:24:52 2007
@@ -121,7 +121,7 @@
     }
 
 
-    AXIS2_SLEEP(2);
+    AXIS2_SLEEP(1);
 
     printf("\n***************************************\n");
     printf("Getting status of subscription...\n");
@@ -136,7 +136,7 @@
         printf("New expire time: %s\n", expire_time);
     }
 
-    AXIS2_SLEEP(2);
+    AXIS2_SLEEP(5);
 
     printf("\n***************************************\n");
     printf("Unsubscribing...\n");

Modified: webservices/savan/trunk/c/samples/server/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/samples/server/Makefile.am?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/samples/server/Makefile.am (original)
+++ webservices/savan/trunk/c/samples/server/Makefile.am Mon Jul 30 02:24:52 2007
@@ -1,4 +1,4 @@
-SUBDIRS =
+SUBDIRS = listener publisher
 EXTRA_DIST=listener publisher
 
 

Modified: webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c (original)
+++ webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c Mon Jul 30 02:24:52
2007
@@ -265,7 +265,7 @@
             savan_publishing_client_publish(pub_client, env, test_node);
             savan_publishing_client_free(pub_client, env);
         }
-        AXIS2_SLEEP(10);
+        AXIS2_SLEEP(1);
     }
 }
 

Modified: webservices/savan/trunk/c/src/data/module.xml
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/data/module.xml?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/src/data/module.xml (original)
+++ webservices/savan/trunk/c/src/data/module.xml Mon Jul 30 02:24:52 2007
@@ -7,18 +7,6 @@
         </handler>
     </inflow>
 
-    <outflow>
-        <handler name="SavanOutHandler" class="mod_savan">
-            <order phase="SavanPhase"/>
-        </handler>
-    </outflow>
-
-    <Outfaultflow>
-        <handler name="SavanOutHandler" class="mod_savan">
-            <order phase="SavanPhase"/>
-        </handler>
-    </Outfaultflow>
-
     <operation name="Subscribe">
            <!--messageReceiver class="axis2_receivers" /-->
            <parameter name="wsamapping" >http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</parameter>

Modified: webservices/savan/trunk/c/src/subscribers/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/subscribers/Makefile.am?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/src/subscribers/Makefile.am (original)
+++ webservices/savan/trunk/c/src/subscribers/Makefile.am Mon Jul 30 02:24:52 2007
@@ -8,7 +8,7 @@
 		@NEETHIINC@ \
 		@AXIS2INC@
 
-libsavan_subscribers_la_LIBADD =-lxslt \
+libsavan_subscribers_la_LIBADD = \
                                 -lxml2
 
 

Modified: webservices/savan/trunk/c/src/subscribers/savan_subscriber.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/subscribers/savan_subscriber.c?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/src/subscribers/savan_subscriber.c (original)
+++ webservices/savan/trunk/c/src/subscribers/savan_subscriber.c Mon Jul 30 02:24:52 2007
@@ -22,7 +22,7 @@
 
 #include <savan_subscriber.h>
 
-#include <libxslt/xsltutils.h>
+/*#include <libxslt/xsltutils.h>*/
 
 struct savan_subscriber_t
 {
@@ -34,7 +34,7 @@
     axis2_char_t *filter;
     axis2_char_t *topic;
     axis2_bool_t renewed;
-    xsltStylesheetPtr xslt_filter;
+    /*xsltStylesheetPtr xslt_filter;*/
 };
 
 /*****************************************************************************/
@@ -63,7 +63,7 @@
     subscriber->filter = NULL;
     subscriber->topic = NULL;
     subscriber->renewed = AXIS2_FALSE;
-	subscriber->xslt_filter = NULL;
+	/*subscriber->xslt_filter = NULL;*/
         
     return subscriber;
 }
@@ -83,14 +83,14 @@
         AXIS2_FREE(env->allocator, subscriber->filter);
     if(subscriber->topic)
         AXIS2_FREE(env->allocator, subscriber->topic);
-    if(subscriber->xslt_filter)
-        AXIS2_FREE(env->allocator, subscriber->xslt_filter);
+    /*if(subscriber->xslt_filter)
+        AXIS2_FREE(env->allocator, subscriber->xslt_filter);*/
     AXIS2_FREE(env->allocator, subscriber);
 }
 
 /******************************************************************************/
 
-void* AXIS2_CALL
+/*void* AXIS2_CALL
 savan_subscriber_get_filter_template(
     savan_subscriber_t *subscriber,
     const axutil_env_t *env)
@@ -98,11 +98,11 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     return subscriber->xslt_filter;
-}
+}*/
 
 /******************************************************************************/
 
-axis2_status_t AXIS2_CALL
+/*axis2_status_t AXIS2_CALL
 savan_subscriber_set_filter_template(
     savan_subscriber_t *subscriber,
     const axutil_env_t *env,
@@ -122,7 +122,7 @@
     }
     subscriber->xslt_filter = (xsltStylesheetPtr)xslt_filter_template;
     return AXIS2_SUCCESS;
-}
+}*/
 
 /******************************************************************************/
 

Modified: webservices/savan/trunk/c/src/util/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/util/Makefile.am?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/src/util/Makefile.am (original)
+++ webservices/savan/trunk/c/src/util/Makefile.am Mon Jul 30 02:24:52 2007
@@ -10,7 +10,7 @@
 		@UTILINC@ \
 		@NEETHIINC@
 
-libsavan_util_la_LIBADD =-lxslt \
+libsavan_util_la_LIBADD = \
                          -lxml2
 
 EXTRA_DIST=template.xsl

Modified: webservices/savan/trunk/c/src/util/savan_util.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/src/util/savan_util.c?view=diff&rev=560901&r1=560900&r2=560901
==============================================================================
--- webservices/savan/trunk/c/src/util/savan_util.c (original)
+++ webservices/savan/trunk/c/src/util/savan_util.c Mon Jul 30 02:24:52 2007
@@ -23,14 +23,14 @@
 
 #include <savan_util.h>
 #include <savan_error.h>
-#include <libxslt/xsltutils.h>
+/*#include <libxslt/xsltutils.h>*/
 
 /******************************************************************************/
 
-axis2_status_t
+/*axis2_status_t
 savan_util_update_filter_template(
     xmlNodeSetPtr nodes,
-    const xmlChar* value);
+    const xmlChar* value);*/
 
 axiom_node_t*
 savan_util_create_fault_msg(axis2_char_t *code,
@@ -70,7 +70,7 @@
     const axutil_env_t *env,
     axiom_node_t *subs_list_node);
 
-axis2_status_t AXIS2_CALL
+/*axis2_status_t AXIS2_CALL
 savan_util_set_filter_template_for_subscriber(
     savan_subscriber_t *subscriber,
     savan_sub_processor_t *sub_processor,
@@ -99,9 +99,9 @@
 	xmlXPathFreeContext(xpathCtx);
 
     return AXIS2_SUCCESS;
-}
+}*/
 
-axiom_node_t * AXIS2_CALL
+/*axiom_node_t * AXIS2_CALL
 savan_util_apply_filter(
     savan_subscriber_t *subscriber,
     const axutil_env_t *env,
@@ -168,7 +168,7 @@
         	nodes->nodeTab[i] = NULL;
     }
     return AXIS2_SUCCESS;
-}
+}*/
 
 axiom_node_t*
 savan_util_create_fault_msg(axis2_char_t *code,



Mime
View raw message