You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/05/02 06:49:25 UTC
svn commit: r398806 - in /webservices/axis2/trunk/c/modules/core/clientapi:
op_client.c options.c svc_client.c
Author: damitha
Date: Mon May 1 21:49:23 2006
New Revision: 398806
URL: http://svn.apache.org/viewcvs?rev=398806&view=rev
Log:
Fixed the build break due to undefined reference
Corrected typos
Modified:
webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
webservices/axis2/trunk/c/modules/core/clientapi/options.c
webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?rev=398806&r1=398805&r2=398806&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Mon May 1 21:49:23 2006
@@ -91,7 +91,9 @@
axis2_op_ctx_t* AXIS2_CALL
axis2_op_client_get_operation_context(struct axis2_op_client *op_client);
-
+axis2_status_t AXIS2_CALL
+axis2_op_client_free(struct axis2_op_client *op_client,
+ axis2_env_t **env);
axis2_op_client_t* AXIS2_CALL
axis2_op_client_create(axis2_env_t **env, axis2_op_t *operation,
@@ -321,7 +323,7 @@
}
if (!(AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC(msg_ctx, env)))
- AXIS2_MSG_CTX_SET_TRANSPORT(msg_ctx, env, transport_out);
+ AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env, transport_out);
transport_in = AXIS2_OPTIONS_GET_TRANSPORT_IN(op_client_impl->options, env);
@@ -471,7 +473,21 @@
return op_client_impl->op_ctx;
}
-
+
+axis2_status_t AXIS2_CALL
+axis2_op_client_free(struct axis2_op_client *op_client,
+ axis2_env_t **env)
+{
+ axis2_op_client_impl_t *op_client_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+
+ op_client_impl = AXIS2_INTF_TO_IMPL(op_client);
+
+ /*TODO:free*/
+
+ return AXIS2_SUCCESS;
+}
/** private functions - implementation */
static void axis2_op_client_init_data(axis2_op_client_impl_t *op_client_impl)
@@ -494,6 +510,7 @@
op_client->ops->reset = axis2_op_client_reset;
op_client->ops->compelete = axis2_op_client_compelete;
op_client->ops->get_operation_context = axis2_op_client_get_operation_context;
+ op_client->ops->free = axis2_op_client_free;
}
static axis2_msg_ctx_t* axis2_op_client_invoke_blocking(axis2_op_client_impl_t *op_client_impl,
Modified: webservices/axis2/trunk/c/modules/core/clientapi/options.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/options.c?rev=398806&r1=398805&r2=398806&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/options.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/options.c Mon May 1 21:49:23 2006
@@ -323,7 +323,7 @@
axis2_options_impl_t *options_impl = NULL;
- options_impl = AXIS2_INTF_TO_IMPL(axis2_create_options(env));
+ options_impl = AXIS2_INTF_TO_IMPL(axis2_options_create(env));
if (options_impl)
{
Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=398806&r1=398805&r2=398806&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Mon May 1 21:49:23 2006
@@ -186,6 +186,9 @@
axis2_svc_client_get_svc_ctx(struct axis2_svc_client *svc_client,
axis2_env_t **env);
+axis2_status_t AXIS2_CALL
+axis2_svc_client_free(struct axis2_svc_client *svc_client,
+ axis2_env_t **env);
axis2_svc_client_t* AXIS2_CALL
axis2_svc_client_create(axis2_env_t **env, axis2_char_t *client_home)
@@ -225,7 +228,7 @@
if (!axis2_svc_client_init_data(env, svc_client_impl))
{
axis2_svc_client_free(&(svc_client_impl->svc_client), env);
- retrun NULL;
+ return NULL;
}
if (!initialize_transport(env, svc_client_impl, conf_ctx, client_home))
@@ -573,8 +576,8 @@
mep_client = axis2_svc_client_create_client(&(svc_client_impl->svc_client), env, operation);
- AXIS2_OP_CLIENT_ADD_MSG_CTX(mep_client, env, mc);
- AXIS2_OP_CLIENT_EXECUTE(mep_client, env, AXIS2_TRUE);
+ AXIS2_OPERATION_CLIENT_ADD_MSG_CTX(mep_client, env, mc);
+ AXIS2_OPERATION_CLIENT_EXECUTE(mep_client, env, AXIS2_TRUE);
res_msg_ctx = AXIS2_OP_CTX_GET_MSG_CTX(mep_client, env, AXIS2_WSDL_MESSAGE_LABEL_IN_VALUE);
if (!res_msg_ctx)
@@ -852,6 +855,7 @@
svc_client->ops->get_target_epr = axis2_svc_client_get_target_epr;
svc_client->ops->set_target_epr = axis2_svc_client_set_target_epr;
svc_client->ops->get_svc_ctx = axis2_svc_client_get_svc_ctx;
+ svc_client->ops->free = axis2_svc_client_free;
}
/**
@@ -949,6 +953,21 @@
AXIS2_SVC_ADD_OP(svc, env, op_out_only);
AXIS2_SVC_ADD_OP(svc, env, op_robust_out_only);
return svc;
+}
+
+axis2_status_t AXIS2_CALL
+axis2_svc_client_free(struct axis2_svc_client *svc_client,
+ axis2_env_t **env)
+{
+ axis2_svc_client_impl_t *svc_client_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+
+ svc_client_impl = AXIS2_INTF_TO_IMPL(svc_client);
+
+ /*TODO:fill*/
+
+ return AXIS2_SUCCESS;
}
static axis2_bool_t fill_soap_envelope(axis2_env_t **env, axis2_svc_client_impl_t *svc_client_impl,