You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/12/07 17:01:29 UTC
svn commit: r483506 - in /webservices/axis2/trunk/c/samples:
client/mtom/mtom_client.c user_guide/clients/echo_blocking_dual.c
user_guide/clients/echo_non_blocking_dual.c
Author: samisa
Date: Thu Dec 7 08:01:27 2006
New Revision: 483506
URL: http://svn.apache.org/viewvc?view=rev&rev=483506
Log:
Removed seperate channel form mtom sample and added a sleep to dual clients to prevent crashing
Modified:
webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c
webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c
Modified: webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c?view=diff&rev=483506&r1=483505&r2=483506
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c Thu Dec 7 08:01:27 2006
@@ -39,7 +39,6 @@
axiom_node_t *ret_node = NULL;
const axis2_char_t *image_name = "resources/axis2.jpg";
const axis2_char_t *to_save_name = "test.jpg";
- /*axis2_endpoint_ref_t* reply_to = NULL;*/
axis2_bool_t optimized = AXIS2_TRUE;
@@ -71,14 +70,9 @@
/* Setup options */
options = axis2_options_create(env);
AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref);
- /*AXIS2_OPTIONS_SET_USE_SEPARATE_LISTENER(options, env, AXIS2_TRUE);*/
- /* Seperate listner needs addressing, hence addressing stuff in options */
AXIS2_OPTIONS_SET_ACTION(options, env,
"http://ws.apache.org/axis2/c/samples/mtomSample");
- /*reply_to = axis2_endpoint_ref_create(env,
- "http://localhost:6060/axis2/services/__ANONYMOUS_SERVICE__/__OPERATION_OUT_IN__");
- AXIS2_OPTIONS_SET_REPLY_TO(options, env, reply_to);*/
AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11);
AXIS2_OPTIONS_SET_ENABLE_MTOM(options, env, AXIS2_TRUE);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c?view=diff&rev=483506&r1=483505&r2=483506
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c Thu Dec 7 08:01:27 2006
@@ -115,6 +115,7 @@
if (svc_client)
{
+ AXIS2_SLEEP(1);
AXIS2_SVC_CLIENT_FREE(svc_client, env);
svc_client = NULL;
}
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c?view=diff&rev=483506&r1=483505&r2=483506
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c Thu Dec 7 08:01:27 2006
@@ -144,6 +144,7 @@
if (svc_client)
{
+ AXIS2_SLEEP(1);
AXIS2_SVC_CLIENT_FREE(svc_client, env);
svc_client = NULL;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org