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 du...@apache.org on 2007/02/27 05:31:07 UTC
svn commit: r512133 -
/webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
Author: dushshantha
Date: Mon Feb 26 20:31:06 2007
New Revision: 512133
URL: http://svn.apache.org/viewvc?view=rev&rev=512133
Log:
Fixed windows build break.
Modified:
webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
Modified: webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c?view=diff&rev=512133&r1=512132&r2=512133
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/mep_client.c Mon Feb 26 20:31:06 2007
@@ -24,6 +24,7 @@
#include <axiom_soap_body.h>
#include <axis2_http_transport_utils.h>
#include <axis2_property.h>
+#include <axis2_platform_auto_sense.h>
typedef struct axis2_mep_client_impl
{
@@ -704,14 +705,18 @@
else
{
int count = 0;
+ axis2_op_ctx_t *op_ctx = NULL;
+ axis2_svc_ctx_t *svc_ctx = NULL;
+ axis2_ctx_t *ctx = NULL;
+ axis2_property_t *prop = NULL;
while (!response_envelope && count < 5)
{
count++;
- sleep(1);
- axis2_op_ctx_t *op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
- axis2_svc_ctx_t *svc_ctx = AXIS2_OP_CTX_GET_PARENT(op_ctx, env);
- axis2_ctx_t *ctx = AXIS2_SVC_CTX_GET_BASE((const axis2_svc_ctx_t *)svc_ctx, env);
- axis2_property_t *prop = AXIS2_CTX_GET_PROPERTY(ctx, env, AXIS2_RESPONSE_SOAP_ENVELOPE, AXIS2_FALSE);
+ AXIS2_SLEEP(1);
+ op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
+ svc_ctx = AXIS2_OP_CTX_GET_PARENT(op_ctx, env);
+ ctx = AXIS2_SVC_CTX_GET_BASE((const axis2_svc_ctx_t *)svc_ctx, env);
+ prop = AXIS2_CTX_GET_PROPERTY(ctx, env, AXIS2_RESPONSE_SOAP_ENVELOPE, AXIS2_FALSE);
if (prop)
response_envelope = AXIS2_PROPERTY_GET_VALUE(prop, env);
if (response_envelope)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org