You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by sa...@apache.org on 2007/06/25 09:24:29 UTC
svn commit: r550397 - in /webservices/savan/trunk/c/samples/server:
listener/listener.c publisher/publisher_skeleton.c
Author: samisa
Date: Mon Jun 25 00:24:26 2007
New Revision: 550397
URL: http://svn.apache.org/viewvc?view=rev&rev=550397
Log:
Removed printfs
Modified:
webservices/savan/trunk/c/samples/server/listener/listener.c
webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c
Modified: webservices/savan/trunk/c/samples/server/listener/listener.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/samples/server/listener/listener.c?view=diff&rev=550397&r1=550396&r2=550397
==============================================================================
--- webservices/savan/trunk/c/samples/server/listener/listener.c (original)
+++ webservices/savan/trunk/c/samples/server/listener/listener.c Mon Jun 25 00:24:26 2007
@@ -26,8 +26,6 @@
AXIS2_ENV_CHECK(env, NULL);
- printf("listener service called.\n");
-
str = axiom_node_to_string(node, env);
if (str)
printf("\nReceived : %s\n", str);
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=550397&r1=550396&r2=550397
==============================================================================
--- webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c (original)
+++ webservices/savan/trunk/c/samples/server/publisher/publisher_skeleton.c Mon Jun 25 00:24:26 2007
@@ -99,10 +99,6 @@
axis2_svc_skeleton_t *svc_skeleton = NULL;
- printf("publisher create called.\n");
-
-
-
/* Allocate memory for the structs */
svc_skeleton = AXIS2_MALLOC(env->allocator,
sizeof(axis2_svc_skeleton_t));
@@ -171,9 +167,6 @@
axutil_thread_t *worker_thread = NULL;
publisher_data_t *data = NULL;
- printf("publisher invoke called.\n");
-
-
/* Invoke the business logic.
* Depending on the function name invoke the correct impl method.
*/
@@ -186,7 +179,6 @@
publisher_worker_func, (void*)data);
if(! worker_thread)
{
- printf("failed to create thread");
return;
}
axutil_thread_pool_thread_detach(env->thread_pool, worker_thread);
@@ -215,8 +207,6 @@
publisher_free(axis2_svc_skeleton_t *svc_skeleton,
const axutil_env_t *env)
{
- printf("free called.\n");
-
/* Free the function array */
if(svc_skeleton->func_array)
{
@@ -254,7 +244,6 @@
env = axutil_init_thread_env(main_env);
- printf("inside thread worker func...\n");
AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "inside thread worker func...");
/* Build a payload and pass it to the savan publishing client */
@@ -281,8 +270,6 @@
savan_publishing_client_free(pub_client, env);
}
AXIS2_SLEEP(10);
-
- printf("Returned from sleep\n");
}
}
@@ -293,7 +280,6 @@
axis2_get_instance(axis2_svc_skeleton_t **inst,
const axutil_env_t *env)
{
- printf("get instance called.\n");
*inst = axis2_publisher_create(env);
if(!(*inst))
{
@@ -309,8 +295,6 @@
{
axis2_status_t status = AXIS2_FAILURE;
- printf("remove instance called.\n");
-
if (inst)
{
status = AXIS2_SVC_SKELETON_FREE(inst, env);