axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r376556 [2/3] - in /webservices/axis2/trunk/c/modules: core/addr/ core/clientapi/ core/context/ core/deployment/ core/description/ core/engine/ core/phaseresolver/ core/receivers/ core/transport/http/receiver/ core/transport/http/sender/ ut...
Date Fri, 10 Feb 2006 05:07:07 GMT
Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/op.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Thu Feb  9 21:07:02 2006
@@ -647,7 +647,7 @@
 axis2_op_free (axis2_op_t *op, axis2_env_t **env)
 { 
     axis2_op_impl_t *op_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     op_impl = AXIS2_INTF_TO_IMPL(op);
     
 	if(NULL != op->ops)
@@ -786,7 +786,7 @@
 		                        axis2_param_t *param)
 {
     axis2_param_container_t *param_container_l = NULL;
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, param, AXIS2_FALSE);
 	
     if(AXIS2_TRUE == axis2_op_is_param_locked(op, env, 
@@ -814,7 +814,7 @@
 		                        axis2_char_t *param_name)
 {
     axis2_param_container_t *param_container_l = NULL;
-	AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FALSE);
+	AXIS2_ENV_CHECK(env, AXIS2_FALSE);
 	AXIS2_PARAM_CHECK((*env)->error, param_name, NULL);
 	
     param_container_l = (axis2_param_container_t *) 
@@ -830,7 +830,7 @@
                                 axis2_env_t **env)
 {
     axis2_param_container_t *param_container_l = NULL;
-	AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FALSE);
+	AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, op->param_container, 
         AXIS2_FALSE);
 	
@@ -850,7 +850,7 @@
     axis2_param_t *param_l = NULL;
     axis2_bool_t locked = AXIS2_FALSE;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, param_name, AXIS2_FALSE);
     
     /* checking the locked value of parent*/
@@ -877,7 +877,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc, AXIS2_FAILURE);
     
     op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -894,7 +894,7 @@
 axis2_op_get_parent (axis2_op_t *op, 
                                 axis2_env_t **env)
 {           
-	AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+	AXIS2_ENV_CHECK(env, NULL);
     
 	return AXIS2_INTF_TO_IMPL(op)->parent;
 }
@@ -906,7 +906,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_recv, AXIS2_FAILURE);
     
     op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -925,7 +925,7 @@
 axis2_op_get_msg_recv (axis2_op_t *op, 
                                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op)->msg_recv;
 }
  
@@ -934,7 +934,7 @@
                             axis2_env_t **env,
                             axis2_qname_t *qname)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
     return AXIS2_WSDL_OP_SET_QNAME(op->wsdl_op, env, qname);
 }
@@ -943,7 +943,7 @@
 axis2_op_get_qname (axis2_op_t *op, 
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
 	
     return AXIS2_WSDL_OP_GET_QNAME(op->wsdl_op,
         env);
@@ -954,7 +954,7 @@
                                             axis2_env_t **env,
 		                                    axis2_char_t *pattern)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, pattern, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_MSG_EXCHANGE_PATTERN(op->wsdl_op, env, pattern);
@@ -964,7 +964,7 @@
 axis2_op_get_msg_exchange_pattern (axis2_op_t *op, 
                                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_WSDL_OP_GET_MSG_EXCHANGE_PATTERN
         (op->wsdl_op, env);
@@ -974,7 +974,7 @@
 axis2_op_get_style (axis2_op_t *op,
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_WSDL_OP_GET_STYLE(op->wsdl_op, env);
 }
@@ -984,7 +984,7 @@
                             axis2_env_t **env,
                             axis2_char_t *style)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, style, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_STYLE(op->wsdl_op, env, style);
@@ -1002,7 +1002,7 @@
     struct axis2_module_desc *module_desc = NULL;
     struct axis2_phase_resolver *pr = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, moduleref, AXIS2_FAILURE);
     collection_module = (axis2_array_list_t *) 
         AXIS2_WSDL_COMPONENT_GET_COMPONENT_PROPERTY(op->wsdl_op->
@@ -1061,7 +1061,7 @@
     int size = 0;
     int index = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_name, AXIS2_FAILURE);
     
     collection_module = (axis2_array_list_t *) 
@@ -1096,7 +1096,7 @@
 axis2_op_get_modules(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return (axis2_array_list_t *) AXIS2_WSDL_COMPONENT_GET_COMPONENT_PROPERTY(
         op->wsdl_op->extensible_component->wsdl_component, env, 
             AXIS2_MODULEREF_KEY);
@@ -1109,7 +1109,7 @@
     axis2_op_impl_t *op_impl = NULL;
     int temp = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     op_impl = AXIS2_INTF_TO_IMPL(op);
     
@@ -1176,7 +1176,7 @@
 axis2_op_get_phases_in_fault_flow(axis2_op_t *op,
                                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op)->phases_in_fault_flow;
 }
 
@@ -1185,7 +1185,7 @@
 axis2_op_get_phases_out_fault_flow(axis2_op_t *op,
                                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op)->phases_out_fault_flow;
 }
 
@@ -1194,7 +1194,7 @@
 axis2_op_get_phases_outflow(axis2_op_t *op,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op)->phases_outflow;
 }
 
@@ -1203,7 +1203,7 @@
 axis2_op_get_remaining_phases_inflow(axis2_op_t *op,
                                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
  
     return AXIS2_INTF_TO_IMPL(op)->remaining_phases_inflow;
 }
@@ -1215,7 +1215,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     
     op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -1253,7 +1253,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     op_impl = AXIS2_INTF_TO_IMPL(op);
     
@@ -1287,7 +1287,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     op_impl = AXIS2_INTF_TO_IMPL(op);
     
@@ -1321,7 +1321,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     op_impl = AXIS2_INTF_TO_IMPL(op);
     if(op_impl->remaining_phases_inflow)
@@ -1355,7 +1355,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_name, AXIS2_FAILURE);
     
     op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -1367,7 +1367,7 @@
 axis2_op_get_module_refs(axis2_op_t *op,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(op)->modulerefs;
 }
 
@@ -1375,7 +1375,7 @@
 axis2_op_get_in_faults(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_OP_GET_IN_FAULTS(op->wsdl_op, env);
 }
 
@@ -1384,7 +1384,7 @@
                                 axis2_env_t **env,
                                 axis2_linked_list_t *in_faults) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, in_faults, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_IN_FAULTS(op->wsdl_op, env, in_faults);
@@ -1394,7 +1394,7 @@
 axis2_op_get_input_msg(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_OP_GET_INPUT_MSG(op->wsdl_op, env);
 }
 
@@ -1403,7 +1403,7 @@
                                 axis2_env_t **env,
                                 struct axis2_wsdl_msg_ref *input_msg) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, input_msg, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_INPUT_MSG(op->wsdl_op, env, input_msg);
@@ -1413,7 +1413,7 @@
 axis2_op_get_out_faults(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_OP_GET_OUT_FAULTS(op->wsdl_op, env);
 }
 
@@ -1422,7 +1422,7 @@
                                 axis2_env_t **env,
                                 axis2_linked_list_t *out_faults) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, out_faults, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_OUT_FAULTS(op->wsdl_op, env, out_faults);
@@ -1432,7 +1432,7 @@
 axis2_op_get_output_msg(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_OP_GET_OUTPUT_MSG(op->wsdl_op, env);
 }
 
@@ -1441,7 +1441,7 @@
                                 axis2_env_t **env,
                                 struct axis2_wsdl_msg_ref *output_msg) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, output_msg, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_SET_OUTPUT_MSG(op->wsdl_op, env, output_msg);
@@ -1451,7 +1451,7 @@
 axis2_op_is_safe(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     return AXIS2_WSDL_OP_IS_SAFE(op->wsdl_op, env);
 }
 
@@ -1460,7 +1460,7 @@
                                 axis2_env_t **env,
                                 axis2_bool_t safe) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_WSDL_OP_SET_SAFETY(op->wsdl_op, env, safe);
 }
 
@@ -1468,7 +1468,7 @@
 axis2_op_get_target_namespace(axis2_op_t *op,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_OP_GET_TARGET_NAMESPACE(op->wsdl_op,
         env);
 }
@@ -1478,7 +1478,7 @@
                                 axis2_env_t **env,
                                 axis2_wsdl_fault_ref_t *in_fault) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, in_fault, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_ADD_IN_FAULT(op->wsdl_op, env, in_fault);
@@ -1489,7 +1489,7 @@
                                 axis2_env_t **env,
                                 axis2_wsdl_fault_ref_t *out_fault) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, out_fault, AXIS2_FAILURE);
     
     return AXIS2_WSDL_OP_ADD_OUT_FAULT(op->wsdl_op, env, out_fault);
@@ -1500,7 +1500,7 @@
                                 axis2_env_t **env,
                                 axis2_wsdl_feature_t *feature) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, feature, AXIS2_FAILURE);
     
     return AXIS2_WSDL_EXTENSIBLE_COMPONENT_ADD_FEATURE(op->wsdl_op->
@@ -1511,7 +1511,7 @@
 axis2_op_get_features(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_EXTENSIBLE_COMPONENT_GET_FEATURES(op->
         wsdl_op->extensible_component, env);
 }
@@ -1521,7 +1521,7 @@
                                 axis2_env_t **env,
                                 axis2_wsdl_property_t *wsdl_property) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, wsdl_property, AXIS2_FAILURE);
     
     return AXIS2_WSDL_EXTENSIBLE_COMPONENT_ADD_PROPERTY(op->wsdl_op->
@@ -1532,7 +1532,7 @@
 axis2_op_get_Properties(axis2_op_t *op,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_WSDL_EXTENSIBLE_COMPONENT_GET_PROPERTIES(op->
         wsdl_op->extensible_component, env);
 }
@@ -1542,7 +1542,7 @@
                                 axis2_env_t **env,
                                 axis2_wsdl_op_t *wsdl_op) 
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, wsdl_op, AXIS2_FAILURE);
     
     if(op->wsdl_op)
@@ -1566,7 +1566,7 @@
     struct axis2_relates_to *relates_to = NULL;
     axis2_status_t status = AXIS2_FAILURE;
         
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, NULL);
     AXIS2_PARAM_CHECK((*env)->error, svc_ctx, NULL);
 
@@ -1619,7 +1619,7 @@
     struct axis2_op_ctx *op_ctx = NULL;
     struct axis2_relates_to *relates_to = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, NULL);
     
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -1664,7 +1664,7 @@
     axis2_char_t *msg_id = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op_ctx, AXIS2_FAILURE);
     
@@ -1705,7 +1705,7 @@
 {
     axis2_op_impl_t *op_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op_ctx, AXIS2_FAILURE);
     op_impl = AXIS2_INTF_TO_IMPL(op);
@@ -1733,7 +1733,7 @@
                                 axis2_msg_ctx_t *msg_ctx,
                                 axis2_op_ctx_t *op_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op_ctx, AXIS2_FAILURE);
     
@@ -1765,7 +1765,7 @@
     axis2_msg_ctx_t *in_msg_ctx = NULL;
     axis2_msg_ctx_t *out_msg_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op_ctx, AXIS2_FAILURE);
     
@@ -1804,7 +1804,7 @@
     axis2_msg_ctx_t *in_msg_ctx = NULL;
     axis2_msg_ctx_t *out_msg_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(op, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op_ctx, AXIS2_FAILURE);
     

Modified: webservices/axis2/trunk/c/modules/core/description/transport_in_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/transport_in_desc.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/transport_in_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/transport_in_desc.c Thu Feb  9 21:07:02 2006
@@ -207,7 +207,7 @@
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
     
@@ -264,7 +264,7 @@
 axis2_transport_in_desc_get_qname(axis2_transport_in_desc_t *transport_in,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_in)->qname;
 }
 
@@ -275,7 +275,7 @@
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
@@ -293,7 +293,7 @@
 axis2_transport_in_desc_get_inflow(axis2_transport_in_desc_t *transport_in,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_in)->inflow;
 }
 
@@ -303,7 +303,7 @@
                                         axis2_flow_t *inflow) 
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, inflow, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
@@ -329,7 +329,7 @@
                                         axis2_flow_t *faultflow) 
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, faultflow, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
@@ -346,7 +346,7 @@
 axis2_transport_in_desc_get_recv(axis2_transport_in_desc_t *transport_in,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_in)->recv;
 }
 
@@ -356,7 +356,7 @@
                                         axis2_transport_receiver_t *recv) 
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, recv, AXIS2_FAILURE);
    
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
@@ -368,7 +368,7 @@
 axis2_transport_in_desc_get_in_phase(axis2_transport_in_desc_t *transport_in,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(transport_in)->in_phase;
 }
@@ -380,7 +380,7 @@
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, in_phase, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);
@@ -397,7 +397,7 @@
 axis2_transport_in_desc_get_faultphase(axis2_transport_in_desc_t *transport_in,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(transport_in)->faultphase;
 }
@@ -409,7 +409,7 @@
 {
     axis2_transport_in_desc_impl_t *transport_in_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_in, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, faultphase, AXIS2_FAILURE);
     
     transport_in_impl = AXIS2_INTF_TO_IMPL(transport_in);

Modified: webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/transport_out_desc.c Thu Feb  9 21:07:02 2006
@@ -206,7 +206,7 @@
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
     
@@ -263,7 +263,7 @@
 axis2_transport_out_desc_get_qname(axis2_transport_out_desc_t *transport_out,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->qname;
 }
 
@@ -273,7 +273,7 @@
                                         axis2_qname_t *qname) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
     
     if(transport_out_impl->qname)
@@ -289,7 +289,7 @@
 axis2_transport_out_desc_get_outflow(axis2_transport_out_desc_t *transport_out,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->outflow;
 }
 
@@ -299,7 +299,7 @@
                                         axis2_flow_t *outflow) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, outflow, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
@@ -325,7 +325,7 @@
                                         axis2_flow_t *faultflow) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, faultflow, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
@@ -342,7 +342,7 @@
 axis2_transport_out_desc_get_sender(axis2_transport_out_desc_t *transport_out,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(transport_out)->sender;
 }
 
@@ -352,7 +352,7 @@
                                         axis2_transport_sender_t *sender) 
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, sender, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
@@ -365,7 +365,7 @@
 axis2_transport_out_desc_get_out_phase(axis2_transport_out_desc_t *transport_out,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(transport_out)->out_phase;
 }
@@ -377,7 +377,7 @@
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, out_phase, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);
@@ -394,7 +394,7 @@
 axis2_transport_out_desc_get_faultphase(axis2_transport_out_desc_t *transport_out,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(transport_out)->faultphase;
 }
@@ -406,7 +406,7 @@
 {
     axis2_transport_out_desc_impl_t *transport_out_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(transport_out, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, faultphase, AXIS2_FAILURE);
     
     transport_out_impl = AXIS2_INTF_TO_IMPL(transport_out);

Modified: webservices/axis2/trunk/c/modules/core/engine/addr_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/addr_disp.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/addr_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/addr_disp.c Thu Feb  9 21:07:02 2006
@@ -86,7 +86,7 @@
 {    
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
     
     endpoint_ref = AXIS2_MSG_CTX_GET_TO(msg_ctx, env);
     
@@ -151,7 +151,7 @@
     axis2_char_t *action = NULL;
     axis2_qname_t *qname = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, svc, NULL);
     
     action = AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env);
@@ -174,7 +174,7 @@
 {
     axis2_relates_to_t *relates_to = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, AXIS2_FAILURE);    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     
     relates_to = AXIS2_MSG_CTX_GET_RELATES_TO(msg_ctx, env);
     

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Thu Feb  9 21:07:02 2006
@@ -591,7 +591,7 @@
     axis2_conf_impl_t *config_impl = NULL;
     axis2_status_t status = AXIS2_SUCCESS;
     
-	AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     config_impl = AXIS2_INTF_TO_IMPL(conf);
     
     if(NULL != conf->ops)
@@ -814,7 +814,7 @@
     int size = 0;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc_grp, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -897,7 +897,7 @@
 		                            axis2_char_t *svc_grp_name)
 {
     axis2_conf_impl_t *config_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+	AXIS2_ENV_CHECK(env, NULL);
 	AXIS2_PARAM_CHECK((*env)->error, svc_grp_name, NULL);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -915,7 +915,7 @@
 axis2_conf_get_svc_grps(axis2_conf_t *conf, 
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->svc_grps;
 }
 
@@ -928,7 +928,7 @@
     axis2_qname_t *svc_grp_qname = NULL;
     axis2_char_t *svc_grp_name = NULL;
     axis2_status_t status = AXIS2_FAILURE;
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc, AXIS2_FAILURE);
 	
 	svc_grp = axis2_svc_grp_create(env);
@@ -978,7 +978,7 @@
                                 axis2_env_t **env,
 		                        axis2_char_t* svc_name)
 {   
-	AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+	AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, svc_name, NULL);
 	
     return axis2_hash_get(AXIS2_INTF_TO_IMPL(conf)->all_svcs, svc_name,
@@ -992,7 +992,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, svc_name, AXIS2_FAILURE);
     
     axis2_hash_set(config_impl->all_svcs, svc_name, AXIS2_HASH_KEY_STRING,
@@ -1007,7 +1007,7 @@
 {
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, param, AXIS2_FAILURE);
     
 	if(AXIS2_TRUE == axis2_conf_is_param_locked(conf, env, 
@@ -1030,7 +1030,7 @@
                         axis2_env_t **env,
 		                const axis2_char_t *name)
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, name, NULL);
     
 	if(NULL == conf->param_container)
@@ -1049,7 +1049,7 @@
 axis2_conf_get_params (axis2_conf_t *conf, 
                         axis2_env_t **env)
 {
-	AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+	AXIS2_ENV_CHECK(env, NULL);
 	return AXIS2_PARAM_CONTAINER_GET_PARAMS(conf->param_container, env);
 	
 }
@@ -1061,7 +1061,7 @@
 {
     axis2_param_t *param = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, param_name, AXIS2_FALSE);
     
     param = axis2_conf_get_param(conf, env, param_name);
@@ -1074,7 +1074,7 @@
                                         axis2_qname_t *qname)
 {
     axis2_conf_impl_t *config_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1097,7 +1097,7 @@
     axis2_conf_impl_t *config_impl = NULL;
     axis2_qname_t *qname = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, transport, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1126,7 +1126,7 @@
                                         axis2_qname_t *qname)
 {
     axis2_conf_impl_t *config_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1149,7 +1149,7 @@
     axis2_conf_impl_t *config_impl = NULL;
     axis2_qname_t *qname = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, transport, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1175,7 +1175,7 @@
 axis2_conf_get_transports_in(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->transports_in;
 }
 
@@ -1211,7 +1211,7 @@
 axis2_conf_get_engaged_modules(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->engaged_modules;
 }
 
@@ -1220,7 +1220,7 @@
                                             axis2_conf_t *conf,
                                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->
         in_phases_upto_and_including_post_dispatch;
 }
@@ -1229,7 +1229,7 @@
 axis2_conf_get_outflow(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->out_phases;
 }
 
@@ -1241,7 +1241,7 @@
 axis2_conf_get_in_faultflow(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->in_faultphases;
 }
 
@@ -1252,7 +1252,7 @@
 axis2_conf_get_out_faultflow(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->out_faultphases;
 }
 
@@ -1260,7 +1260,7 @@
 axis2_conf_get_transports_out(axis2_conf_t *conf,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->transports_out;
 }	
 
@@ -1294,7 +1294,7 @@
 axis2_conf_get_faulty_svcs(axis2_conf_t *conf,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(conf)->faulty_svcs;
 }
@@ -1303,7 +1303,7 @@
 axis2_conf_get_faulty_modules(axis2_conf_t *conf,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->faulty_modules;
 }
     
@@ -1323,7 +1323,7 @@
     axis2_svc_t *svc =NULL;
     axis2_char_t *svc_name = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
     sgs = axis2_conf_get_svc_grps(conf, env);
@@ -1355,7 +1355,7 @@
                                 axis2_env_t **env,
                                 axis2_qname_t *module_name) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, module_name, AXIS2_FALSE);
     
     return AXIS2_ARRAY_LIST_CONTAINS(AXIS2_INTF_TO_IMPL(conf)->
@@ -1366,7 +1366,7 @@
 axis2_conf_get_phases_info(axis2_conf_t *conf,
                                     axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return (AXIS2_INTF_TO_IMPL(conf))->phases_info;
 }
@@ -1378,7 +1378,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, phases_info, AXIS2_FAILURE);
     config_impl = AXIS2_INTF_TO_IMPL(conf);
     
@@ -1399,7 +1399,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, key, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_recv, AXIS2_FAILURE);
     
@@ -1420,7 +1420,7 @@
                                     axis2_env_t **env,
                                     axis2_char_t *key) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return (axis2_msg_recv_t *) axis2_hash_get(AXIS2_INTF_TO_IMPL(
         conf)->msg_recvs, key, AXIS2_HASH_KEY_STRING);
@@ -1433,7 +1433,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, out_phases, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1450,7 +1450,7 @@
 axis2_conf_get_out_phases(axis2_conf_t *conf,
                                     axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(conf)->out_phases;
 }
     
@@ -1464,7 +1464,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1487,7 +1487,7 @@
 {
     axis2_conf_impl_t *config_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, list, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1507,7 +1507,7 @@
 axis2_conf_get_modules(axis2_conf_t *conf,
                                 axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(conf, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(conf)->modules;
 }  
@@ -1526,7 +1526,7 @@
     axis2_qname_t *module_qname = NULL;
     
     axis2_status_t status = AXIS2_FAILURE;
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module, AXIS2_FAILURE);
     
     config_impl = AXIS2_INTF_TO_IMPL(conf);
@@ -1573,7 +1573,7 @@
     axis2_phase_t *post_dispatch = NULL;
     axis2_disp_checker_t *disp_checker = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     config_impl = AXIS2_INTF_TO_IMPL(conf);
 
     dispatch = axis2_phase_create(env, AXIS2_PHASE_DISPATCH);
@@ -1664,7 +1664,7 @@
     axis2_phase_t *post_dispatch = NULL;
     axis2_disp_checker_t *disp_checker = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, dispatch, AXIS2_FAILURE);
     config_impl = AXIS2_INTF_TO_IMPL(conf);
     
@@ -1718,7 +1718,7 @@
     axis2_dep_engine_t *dep_engine = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(conf, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, module_ref, AXIS2_FAILURE);
     config_impl = AXIS2_INTF_TO_IMPL(conf);
     

Modified: webservices/axis2/trunk/c/modules/core/engine/ctx_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/ctx_handler.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/ctx_handler.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/ctx_handler.c Thu Feb  9 21:07:02 2006
@@ -91,7 +91,7 @@
     axis2_op_ctx_t *op_ctx = NULL;
     axis2_svc_grp_ctx_t *svc_grp_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);

Modified: webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/disp_checker.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/disp_checker.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/disp_checker.c Thu Feb  9 21:07:02 2006
@@ -119,14 +119,14 @@
 axis2_handler_t* AXIS2_CALL axis2_disp_checker_get_base(struct axis2_disp_checker *disp_checker, 
                                                axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(disp_checker, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(disp_checker)->base;
 }
 
 axis2_qname_t* AXIS2_CALL axis2_disp_checker_get_qname(struct axis2_disp_checker *disp_checker, 
                                        axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(disp_checker, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(disp_checker)->qname;
 }
 
@@ -135,7 +135,7 @@
 {
     axis2_disp_checker_impl_t *disp_checker_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(disp_checker, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     disp_checker_impl = AXIS2_INTF_TO_IMPL(disp_checker);
     
@@ -160,7 +160,7 @@
                     axis2_env_t **env)
 {
     axis2_disp_checker_impl_t *disp_checker_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(disp_checker, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     disp_checker_impl = AXIS2_INTF_TO_IMPL(disp_checker);
     
     if (disp_checker_impl->qname)

Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/engine.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Thu Feb  9 21:07:02 2006
@@ -110,7 +110,7 @@
 {
     axis2_engine_impl_t *engine_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     engine_impl = AXIS2_INTF_TO_IMPL(engine);
     
@@ -147,7 +147,7 @@
     
     AXIS2_LOG_TRACE((*env)->log, AXIS2_LOG_SI, "axis2_engine_send start");
 
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     engine_impl = AXIS2_INTF_TO_IMPL(engine);
@@ -254,7 +254,7 @@
     axis2_array_list_t *pre_calculated_phases = NULL;
     axis2_array_list_t *op_specific_phases = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     engine_impl = AXIS2_INTF_TO_IMPL(engine);
@@ -339,7 +339,7 @@
 {
     axis2_op_ctx_t *op_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -386,7 +386,7 @@
 {
     axis2_op_ctx_t *op_ctx = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -451,7 +451,7 @@
     axis2_engine_impl_t *engine_impl = NULL;
     axis2_endpoint_ref_t *fault_to = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, processing_context, AXIS2_FAILURE);
     
     engine_impl = AXIS2_INTF_TO_IMPL(engine);
@@ -566,7 +566,7 @@
 {
     /*axis2_char_t *soap_namespace_uri = NULL;*/
     
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, fault, AXIS2_FAILURE);
     
@@ -635,7 +635,7 @@
 
 axis2_status_t AXIS2_CALL axis2_engine_verify_ctx_built(struct axis2_engine *engine, axis2_env_t **env, axis2_msg_ctx_t *msg_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);    
     
     if (!AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env))
@@ -658,7 +658,7 @@
 {
     int i = 0;
     int count = 0;
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, phases, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);    
     
@@ -678,7 +678,7 @@
     int count = 0;
     axis2_bool_t found_match = AXIS2_FALSE;
 
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, phases, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);    
     
@@ -714,7 +714,7 @@
 
 axis2_char_t* AXIS2_CALL axis2_engine_get_sender_fault_code(struct axis2_engine *engine, axis2_env_t **env, axis2_char_t *soap_namespace) 
 {
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_namespace, AXIS2_FAILURE);
     
     /*if (AXIS2_STRCMP(AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI, soap_namespace))
@@ -727,7 +727,7 @@
 
 axis2_char_t* AXIS2_CALL axis2_engine_get_receiver_fault_code(struct axis2_engine *engine, axis2_env_t **env, axis2_char_t *soap_namespace) 
 {
-    AXIS2_FUNC_PARAM_CHECK(engine, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_namespace, AXIS2_FAILURE);
     
     if (AXIS2_STRCMP(AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI, soap_namespace))

Modified: webservices/axis2/trunk/c/modules/core/engine/event.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/event.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/event.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/event.c Thu Feb  9 21:07:02 2006
@@ -75,13 +75,13 @@
 
 axis2_svc_t* AXIS2_CALL axis2_event_get_svc(struct axis2_event *event, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(event, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(event)->svc;
 }
 
 int AXIS2_CALL axis2_event_get_event_type(struct axis2_event *event, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(event, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(event)->event_type;
 }
 
@@ -90,7 +90,7 @@
 {
     axis2_event_impl_t *event_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(event, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     event_impl = AXIS2_INTF_TO_IMPL(event);
     

Modified: webservices/axis2/trunk/c/modules/core/engine/handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/handler.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/handler.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/handler.c Thu Feb  9 21:07:02 2006
@@ -96,7 +96,7 @@
                     axis2_env_t **env)
 {
     axis2_handler_impl_t *handler_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     handler_impl = AXIS2_INTF_TO_IMPL(handler);
     if (handler_impl->handler.ops)
     {
@@ -114,7 +114,7 @@
 axis2_handler_get_name(struct axis2_handler * handler, 
                        axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(handler, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (!(AXIS2_INTF_TO_IMPL(handler)->handler_desc))
         return NULL;
@@ -134,7 +134,7 @@
                                                 axis2_env_t **env, 
                                                 axis2_char_t *name)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (!(AXIS2_INTF_TO_IMPL(handler)->handler_desc))
         return NULL;
@@ -146,7 +146,7 @@
                                            axis2_env_t **env, 
                                            struct axis2_handler_desc *handler_desc)
 {    
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(handler)->handler_desc = handler_desc;
     
     return AXIS2_SUCCESS;    
@@ -155,20 +155,20 @@
 axis2_handler_desc_t* AXIS2_CALL axis2_handler_get_handler_desc (struct axis2_handler * handler, 
                                                                            axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler)->handler_desc;
 }
 
 /*void* AXIS2_CALL axis2_handler_get_derived(struct axis2_handler * handler, 
                                                           axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(handler)->derived;
 }
 axis2_status_t AXIS2_CALL axis2_handler_set_derived(struct axis2_handler * handler, 
                                                           axis2_env_t **env, void* derived)
 {
-    AXIS2_FUNC_PARAM_CHECK(handler, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(handler)->derived = derived;
     
     return AXIS2_SUCCESS;    

Modified: webservices/axis2/trunk/c/modules/core/engine/phase.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/phase.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/phase.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/phase.c Thu Feb  9 21:07:02 2006
@@ -158,7 +158,7 @@
 {
     axis2_phase_impl_t *phase_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
     
@@ -176,7 +176,7 @@
 {
     axis2_phase_impl_t *phase_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
     
@@ -195,7 +195,7 @@
     int index = 0, size = 0;
     axis2_status_t status = AXIS2_SUCCESS;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
     
@@ -270,14 +270,14 @@
 axis2_char_t* AXIS2_CALL axis2_phase_get_name(struct axis2_phase *phase, 
                               axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(phase, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
     return AXIS2_INTF_TO_IMPL(phase)->name;
 }
 
 int AXIS2_CALL axis2_phase_get_handler_count(struct axis2_phase *phase, 
                               axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     return AXIS2_ARRAY_LIST_SIZE(AXIS2_INTF_TO_IMPL(phase)->handlers, env );
 }
 
@@ -337,7 +337,7 @@
 {
     axis2_phase_impl_t *phase_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
     
@@ -365,7 +365,7 @@
 {
     axis2_phase_impl_t *phase_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
 
@@ -397,7 +397,7 @@
     axis2_status_t status = AXIS2_SUCCESS;
     axis2_bool_t first = AXIS2_FALSE, last = AXIS2_FALSE;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
 
@@ -479,7 +479,7 @@
     axis2_handler_desc_t *handler_desc = NULL;    
     axis2_char_t *first_handler_name = NULL, *before = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -522,7 +522,7 @@
     axis2_handler_desc_t *handler_desc = NULL;    
     axis2_char_t *last_handler_name = NULL, *after = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -567,7 +567,7 @@
     int i = 0;
     int size = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -660,7 +660,7 @@
     int i = 0;
     int size = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -756,7 +756,7 @@
     int i = 0;
     int size = 0;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -901,7 +901,7 @@
     axis2_handler_t *handler = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -950,7 +950,7 @@
 
 axis2_array_list_t* AXIS2_CALL axis2_phase_get_handlers(axis2_phase_t *phase, axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(phase, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
     return AXIS2_INTF_TO_IMPL(phase)->handlers;
 }
 
@@ -960,7 +960,7 @@
     int size = 0, i = 0;
     axis2_bool_t found = AXIS2_FALSE;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase); 
     
@@ -997,7 +997,7 @@
 {
     axis2_phase_impl_t *phase_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_impl = AXIS2_INTF_TO_IMPL(phase);
     

Modified: webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c Thu Feb  9 21:07:02 2006
@@ -86,7 +86,7 @@
 {    
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
     
     endpoint_ref = AXIS2_MSG_CTX_GET_TO(msg_ctx, env);
     
@@ -141,7 +141,7 @@
 {
     axis2_endpoint_ref_t *endpoint_ref = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
     AXIS2_PARAM_CHECK((*env)->error, svc, NULL);
     
     endpoint_ref = AXIS2_MSG_CTX_GET_TO(msg_ctx, env);
@@ -179,7 +179,7 @@
                                                 axis2_env_t **env,
                                                 struct axis2_msg_ctx *msg_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, AXIS2_FAILURE);    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     
     msg_ctx->ops->find_svc = axis2_req_uri_disp_find_svc;
     msg_ctx->ops->find_op = axis2_req_uri_disp_find_op;

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c Thu Feb  9 21:07:02 2006
@@ -84,7 +84,7 @@
 axis2_svc_t* AXIS2_CALL axis2_soap_action_disp_find_svc(axis2_msg_ctx_t *msg_ctx, 
                     axis2_env_t **env) 
 {    
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);    
+    AXIS2_ENV_CHECK(env, NULL);    
 
     AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "Checking for service using SOAPAction is a TODO item");
 
@@ -104,7 +104,7 @@
 {
     axis2_char_t *action = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);  
+    AXIS2_ENV_CHECK(env, NULL);  
     AXIS2_PARAM_CHECK((*env)->error, svc, NULL);    
     
     action = AXIS2_MSG_CTX_GET_SOAP_ACTION(msg_ctx, env);
@@ -147,7 +147,7 @@
                                                 axis2_env_t **env,
                                                 struct axis2_msg_ctx *msg_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, AXIS2_FAILURE);    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     
     msg_ctx->ops->find_svc = axis2_soap_action_disp_find_svc;
     msg_ctx->ops->find_op = axis2_soap_action_disp_find_op;

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c Thu Feb  9 21:07:02 2006
@@ -86,7 +86,7 @@
 {    
     axis2_soap_envelope_t *soap_envelope = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL); 
+    AXIS2_ENV_CHECK(env, NULL); 
     soap_envelope = AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env);
     if (soap_envelope)
     {
@@ -162,7 +162,7 @@
 {
     axis2_soap_envelope_t *soap_envelope = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL); 
+    AXIS2_ENV_CHECK(env, NULL); 
     AXIS2_PARAM_CHECK((*env)->error, svc, NULL);
 
     soap_envelope = AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env);
@@ -208,7 +208,7 @@
                                                 axis2_env_t **env,
                                                 struct axis2_msg_ctx *msg_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, AXIS2_FAILURE);    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);    
     
     msg_ctx->ops->find_svc = axis2_soap_body_disp_find_svc;
     msg_ctx->ops->find_op = axis2_soap_body_disp_find_op;

Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c Thu Feb  9 21:07:02 2006
@@ -128,7 +128,7 @@
 {
     axis2_phase_holder_impl_t *phase_holder_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_holder, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_holder_impl = AXIS2_INTF_TO_IMPL(phase_holder);
    
@@ -167,7 +167,7 @@
     axis2_phase_t *phase = NULL;
     axis2_phase_holder_impl_t *phase_holder_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_holder, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, phase_name, AXIS2_FALSE);
     phase_holder_impl = AXIS2_INTF_TO_IMPL(phase_holder);
     
@@ -201,7 +201,7 @@
     axis2_char_t *phase_name = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_holder, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, handler, AXIS2_FAILURE);
     
     phase_name = AXIS2_PHASE_RULE_GET_NAME(
@@ -238,7 +238,7 @@
     axis2_phase_holder_impl_t *phase_holder_impl = NULL;
     axis2_phase_t *phase = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(phase_holder, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, phase_name, NULL);
     
     phase_holder_impl = AXIS2_INTF_TO_IMPL(phase_holder);
@@ -279,7 +279,7 @@
     int i = 0;
     axis2_handler_desc_t *handler_desc = NULL;
         
-    AXIS2_FUNC_PARAM_CHECK(phase_holder, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, phase, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, handlers, AXIS2_FAILURE);
     

Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c Thu Feb  9 21:07:02 2006
@@ -245,7 +245,7 @@
 {
     axis2_phase_resolver_impl_t *phase_resolver_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(phase_resolver, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     phase_resolver_impl = AXIS2_INTF_TO_IMPL(phase_resolver);
     
@@ -315,7 +315,7 @@
 {
     int i = 0;
     axis2_status_t status = AXIS2_FAILURE;
-    AXIS2_FUNC_PARAM_CHECK(phase_resolver, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, op, AXIS2_FAILURE);
     
    

Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Thu Feb  9 21:07:02 2006
@@ -134,7 +134,7 @@
                         axis2_env_t **env)
 {
     axis2_msg_recv_impl_t *recv_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     recv_impl = AXIS2_INTF_TO_IMPL(msg_recv);
     
     if(recv_impl->scope)
@@ -178,7 +178,7 @@
     axis2_param_t *impl_info_param = NULL;
     void *impl_class = NULL;
 
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, NULL);
 
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -217,7 +217,7 @@
     axis2_qname_t *svc_qname = NULL;
     axis2_char_t *param_value = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, NULL);
     
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -286,7 +286,7 @@
 {
     axis2_msg_recv_impl_t *msg_recv_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, scope, AXIS2_FAILURE);
     msg_recv_impl = AXIS2_INTF_TO_IMPL(msg_recv);
     
@@ -323,7 +323,7 @@
     axis2_param_t *scope_param = NULL;
     axis2_char_t *param_value = NULL;
 
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env);
@@ -367,7 +367,7 @@
     axis2_svc_ctx_t *svc_ctx = NULL;
     axis2_status_t status = AXIS2_FAILURE;
     
-    AXIS2_FUNC_PARAM_CHECK(msg_recv, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
     
     out_msg_ctx = axis2_core_utils_create_out_msg_ctx(env, msg_ctx);

Modified: webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c Thu Feb  9 21:07:02 2006
@@ -84,6 +84,10 @@
     axis2_char_t *soap_ns = AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI;
     int soap_version = AXIS2_SOAP12;
     axis2_om_namespace_t *env_ns = NULL;
+   
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK((*env)->error, new_msg_ctx, AXIS2_FAILURE);
     
     /* get the implementation class for the Web Service */
     svc_obj = AXIS2_MSG_RECV_GET_IMPL_OBJ(msg_recv, env, msg_ctx);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c Thu Feb  9 21:07:02 2006
@@ -155,7 +155,7 @@
 axis2_http_response_writer_free(axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env)
 {
-	AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_FREE((*env)->allocator, 
                 AXIS2_INTF_TO_IMPL(response_writer)->encoding);
     
@@ -172,7 +172,7 @@
                 (axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(response_writer)->encoding;
 }
 
@@ -181,7 +181,7 @@
 axis2_http_response_writer_close(axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_SUCCESS;
 }
 
@@ -190,7 +190,7 @@
 axis2_http_response_writer_flush(axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     /*
         TODO if bufferring is added flush the buffer
     */
@@ -205,7 +205,7 @@
 {
 	axis2_http_response_writer_impl_t *writer_impl = NULL;
 	int write = -1;
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
 	if(NULL == writer_impl->stream)
@@ -229,7 +229,7 @@
 {
 	axis2_http_response_writer_impl_t *writer_impl = NULL;
 	int write = -1;
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, buf, AXIS2_FAILURE);
 	
     writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
@@ -258,7 +258,7 @@
 	int write = -1;
 	int len = -1;
 	
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, str, AXIS2_FAILURE);
     writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
 	
@@ -282,7 +282,7 @@
                 axis2_env_t **env, int i)
 {
     axis2_char_t int_str[10]; 
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     sprintf(int_str, "%10d", i);
     return axis2_http_response_writer_print_str(response_writer, env, int_str);
 }
@@ -293,7 +293,7 @@
                 (axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env, char *str)
 {
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, str, AXIS2_FAILURE);
     
     if (AXIS2_SUCCESS == axis2_http_response_writer_print_str(response_writer, 
@@ -311,7 +311,7 @@
                 (axis2_http_response_writer_t *response_writer, 
                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return axis2_http_response_writer_print_str(response_writer, env, 
                 AXIS2_HTTP_CRLF);
 }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c Thu Feb  9 21:07:02 2006
@@ -120,7 +120,7 @@
 axis2_http_server_free (axis2_transport_receiver_t *server, axis2_env_t **env)
 {
 	axis2_http_server_impl_t *server_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     server_impl = AXIS2_INTF_TO_IMPL(server);
     if(NULL != server_impl->svr_thread)
 	{
@@ -150,7 +150,7 @@
     axis2_http_server_impl_t *server_impl = NULL;
 	axis2_char_t *port_str = NULL;
 	
-	AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     server_impl = AXIS2_INTF_TO_IMPL(server);
 	
 	server_impl->conf_ctx = conf_ctx;
@@ -170,7 +170,7 @@
 
 	axis2_http_server_impl_t *server_impl = NULL;
 	axis2_http_worker_t *worker = NULL;
-    AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 		
 	server_impl = AXIS2_INTF_TO_IMPL(server);
 	server_impl->svr_thread = axis2_http_svr_thread_create(env, 
@@ -195,7 +195,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_http_server_stop(axis2_transport_receiver_t *server, axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	AXIS2_LOG_INFO((*env)->log, "Terminating HTTP server thread");
 	if(NULL != AXIS2_INTF_TO_IMPL(server)->svr_thread)
@@ -212,7 +212,7 @@
 axis2_http_server_get_conf_ctx (axis2_transport_receiver_t *server, 
 						axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(server, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
 	return AXIS2_INTF_TO_IMPL(server)->conf_ctx;
 }
 
@@ -224,7 +224,7 @@
 	axis2_char_t *host_address = NULL;
 	axis2_char_t *svc_path = NULL;
 	axis2_url_t *url = NULL;
-    AXIS2_FUNC_PARAM_CHECK(server, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, svc_name, NULL);
 	
 	host_address = "127.0.0.1"; /* TODO : get from axis2.xml */
@@ -246,7 +246,7 @@
 						axis2_env_t **env)
 {
 	axis2_http_server_impl_t *server_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	server_impl = AXIS2_INTF_TO_IMPL(server);
 	if(NULL == server_impl->svr_thread)
 	{

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c Thu Feb  9 21:07:02 2006
@@ -128,7 +128,7 @@
 						axis2_env_t **env)
 {
     axis2_http_transport_sender_impl_t *transport_sender_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(transport_sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     transport_sender_impl = AXIS2_INTF_TO_IMPL(transport_sender);
 
     if(NULL != transport_sender->ops)
@@ -153,7 +153,7 @@
 	axis2_soap_envelope_t *soap_data_out = NULL;
 	axis2_bool_t do_mtom;
 	
-	AXIS2_FUNC_PARAM_CHECK(transport_sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 
 	xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0);
@@ -301,7 +301,7 @@
 							(axis2_transport_sender_t *transport_sender, 
                     		axis2_env_t **env, axis2_msg_ctx_t *msg_ctx)
 {
-    AXIS2_FUNC_PARAM_CHECK(transport_sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 	/*
 	 * Clean up is not used. If the http sender needs
@@ -321,7 +321,7 @@
     axis2_char_t *version = NULL;
 	axis2_char_t *temp = NULL;
 	axis2_param_t *temp_param = NULL;
-	AXIS2_FUNC_PARAM_CHECK(transport_sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, conf_ctx, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, out_desc, AXIS2_FAILURE);
 	
@@ -419,7 +419,7 @@
 	axis2_char_t *soap_action = NULL;
 	axis2_char_t *url = NULL;
 	axis2_soap_over_http_sender_t *sender = NULL;
-	AXIS2_FUNC_PARAM_CHECK(transport_sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, epr, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, om_output, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/soap_over_http_sender.c Thu Feb  9 21:07:02 2006
@@ -145,7 +145,7 @@
                         axis2_env_t **env)
 {
     axis2_soap_over_http_sender_impl_t *sender_impl = NULL;
-	AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     sender_impl = AXIS2_INTF_TO_IMPL(sender);
     if(NULL != sender_impl->http_version)
@@ -185,7 +185,7 @@
 	axis2_http_simple_response_t *response = NULL;
 	axis2_char_t *content_type = NULL;
 		
-    AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, out, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, str_url, AXIS2_FAILURE);
@@ -288,7 +288,7 @@
 						(axis2_soap_over_http_sender_t *sender, 
 						axis2_env_t **env, axis2_bool_t chunked)
 {
-    AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(sender)->chunked = chunked;
 	return AXIS2_SUCCESS;	
 }
@@ -299,7 +299,7 @@
 						(axis2_soap_over_http_sender_t *sender, 
 						axis2_env_t **env, axis2_om_output_t *om_output)
 {
-    AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(sender)->om_output = om_output;
 	return AXIS2_SUCCESS;
 }
@@ -316,7 +316,7 @@
 	axis2_soap_over_http_sender_impl_t *sender_impl = NULL;
 	int i = 0;
 	
-	AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, response, AXIS2_FAILURE);
 	
@@ -382,7 +382,7 @@
     axis2_stream_t *in_stream = NULL;
 	axis2_ctx_t *axis_ctx = NULL;
 	
-	AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, msg_ctx, AXIS2_FAILURE);
 	AXIS2_PARAM_CHECK((*env)->error, response, AXIS2_FAILURE);
 	
@@ -410,7 +410,7 @@
     axis2_char_t *so_str = NULL;
 	axis2_char_t *connection_str = NULL;
 	
-	AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	
 	so_str = (axis2_char_t*)AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, 
 						env, AXIS2_HTTP_SO_TIMEOUT);
@@ -433,7 +433,7 @@
 									(axis2_soap_over_http_sender_t *sender, 
 									axis2_env_t **env, axis2_char_t *version)
 {
-	AXIS2_FUNC_PARAM_CHECK(sender, env, AXIS2_FAILURE);
+	AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 	AXIS2_INTF_TO_IMPL(sender)->http_version =  AXIS2_STRDUP(version, env);
 	if(NULL == AXIS2_INTF_TO_IMPL(sender)->http_version)
 	{

Modified: webservices/axis2/trunk/c/modules/util/linked_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/linked_list.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/linked_list.c (original)
+++ webservices/axis2/trunk/c/modules/util/linked_list.c Thu Feb  9 21:07:02 2006
@@ -295,7 +295,7 @@
                 axis2_env_t **env,
                 entry_t *e)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, e, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(linked_list)->mod_count++;
@@ -319,7 +319,7 @@
 {
     axis2_linked_list_impl_t *linked_list_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     linked_list_impl = AXIS2_INTF_TO_IMPL(linked_list);
     
@@ -364,7 +364,7 @@
 {
     entry_t *e = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (n < AXIS2_INTF_TO_IMPL(linked_list)->size / 2)
     {
@@ -398,7 +398,7 @@
                                 axis2_env_t **env, 
                                 entry_t *e)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, e, AXIS2_FAILURE);
     
     AXIS2_INTF_TO_IMPL(linked_list)->mod_count++;
@@ -437,7 +437,7 @@
                                             axis2_env_t **env, 
                                             int index)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     
     if (index < 0 || index > AXIS2_INTF_TO_IMPL(linked_list)->size)
     {
@@ -457,7 +457,7 @@
                                             axis2_env_t **env,
                                             int index)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     if (index < 0 || index >= AXIS2_INTF_TO_IMPL(linked_list)->size)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INDEX_OUT_OF_BOUNDS, AXIS2_FAILURE);
@@ -475,7 +475,7 @@
 axis2_linked_list_get_first(axis2_linked_list_t *linked_list,
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     if (AXIS2_INTF_TO_IMPL(linked_list)->size == 0)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_SUCH_ELEMENT, AXIS2_FAILURE);
@@ -494,7 +494,7 @@
 axis2_linked_list_get_last(axis2_linked_list_t *linked_list,
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (AXIS2_INTF_TO_IMPL(linked_list)->size == 0)
     {
@@ -515,7 +515,7 @@
                                 axis2_env_t **env)
 {
     void *r;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (AXIS2_INTF_TO_IMPL(linked_list)->size == 0)
     {
@@ -548,7 +548,7 @@
                                 axis2_env_t **env)
 {
     void *r = NULL;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     if (AXIS2_INTF_TO_IMPL(linked_list)->size == 0)
     {
@@ -582,7 +582,7 @@
                             void *o)
 {
     entry_t *e ;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FAILURE);
     
     e = create_entry(env, o);
@@ -613,7 +613,7 @@
                             void *o)
 {   
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FAILURE);
     
     e = create_entry(env, o);
@@ -633,7 +633,7 @@
                             void *o)
 {
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FALSE);
     
     e = AXIS2_INTF_TO_IMPL(linked_list)->first;
@@ -655,7 +655,7 @@
 axis2_linked_list_size(axis2_linked_list_t *linked_list,
                         axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     return AXIS2_INTF_TO_IMPL(linked_list)->size;
 }
 
@@ -671,7 +671,7 @@
                         void *o)
 {   
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FALSE);
     e = create_entry(env, o);
     return add_last_entry(linked_list, env, e);
@@ -690,7 +690,7 @@
                             void *o)
 {
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FALSE);
+    AXIS2_ENV_CHECK(env, AXIS2_FALSE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FALSE);
     
     e = AXIS2_INTF_TO_IMPL(linked_list)->first;
@@ -714,7 +714,7 @@
 axis2_linked_list_clear(axis2_linked_list_t *linked_list,
                             axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if (AXIS2_INTF_TO_IMPL(linked_list)->size > 0)
     {
         AXIS2_INTF_TO_IMPL(linked_list)->mod_count++;
@@ -737,7 +737,7 @@
                         axis2_env_t **env,
                         int index)
 {
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     axis2_linked_list_check_bounds_exclusive(linked_list, env, index);
     return axis2_linked_list_get_entry(linked_list, env, index)->data;
 }
@@ -756,7 +756,7 @@
 {
     entry_t *e;
     void *old;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, o, NULL);
     axis2_linked_list_check_bounds_exclusive(linked_list, env, index);
     e = axis2_linked_list_get_entry(linked_list, env, index);
@@ -779,7 +779,7 @@
 {
     entry_t *after = NULL;
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FAILURE);
     
     axis2_linked_list_check_bounds_inclusive(linked_list, env, index);
@@ -816,7 +816,7 @@
                                     int index)
 {
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     axis2_linked_list_check_bounds_exclusive(linked_list, env, index);
     e = axis2_linked_list_get_entry(linked_list, env, index);
     axis2_linked_list_remove_entry(linked_list, env, e);
@@ -836,7 +836,7 @@
 {
     int index = 0;
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FAILURE);
     
     e = AXIS2_INTF_TO_IMPL(linked_list)->first;
@@ -863,7 +863,7 @@
 {
     int index;
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, o, AXIS2_FAILURE);
     
     index = AXIS2_INTF_TO_IMPL(linked_list)->size - 1;
@@ -890,7 +890,7 @@
     int i = 0;
     void **array;
     entry_t *e;
-    AXIS2_FUNC_PARAM_CHECK(linked_list, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     array = (void **) AXIS2_MALLOC((*env)->allocator, 
         AXIS2_INTF_TO_IMPL(linked_list)->size * sizeof(void *));
     e = AXIS2_INTF_TO_IMPL(linked_list)->first;

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c?rev=376556&r1=376555&r2=376556&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_binding.c Thu Feb  9 21:07:02 2006
@@ -224,7 +224,7 @@
 {
     axis2_wsdl_binding_impl_t *binding_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);
     
@@ -308,7 +308,7 @@
 axis2_wsdl_binding_get_bound_interface(axis2_wsdl_binding_t *wsdl_binding,
                                         axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_binding)->bound_interface;
 }
 
@@ -319,7 +319,7 @@
 { 
     axis2_wsdl_binding_impl_t *binding_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, bound_interface, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);
@@ -337,7 +337,7 @@
 axis2_wsdl_binding_get_name(axis2_wsdl_binding_t *wsdl_binding,
                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(wsdl_binding)->qname;
 }
 
@@ -348,7 +348,7 @@
 {
     axis2_wsdl_binding_impl_t *binding_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);
@@ -365,7 +365,7 @@
 axis2_wsdl_binding_get_target_namespace(axis2_wsdl_binding_t *wsdl_binding,
                                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_QNAME_GET_URI(AXIS2_INTF_TO_IMPL(wsdl_binding)->qname, env);
 }
 
@@ -374,7 +374,7 @@
                                         axis2_env_t **env) 
 {
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     
     return AXIS2_INTF_TO_IMPL(wsdl_binding)->binding_faults;
 }
@@ -386,7 +386,7 @@
 {
     axis2_wsdl_binding_impl_t *binding_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, binding_faults, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);
@@ -419,7 +419,7 @@
 axis2_wsdl_binding_get_binding_ops(axis2_wsdl_binding_t *wsdl_binding,
                                             axis2_env_t **env) 
 {
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(wsdl_binding)->binding_ops;
 }
 
@@ -430,7 +430,7 @@
 {
     axis2_wsdl_binding_impl_t *binding_impl = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, binding_ops, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);
@@ -511,7 +511,7 @@
     axis2_qname_t *fault_ref = NULL;
     axis2_char_t *fault_ref_name = NULL;
     
-    AXIS2_FUNC_PARAM_CHECK(wsdl_binding, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, binding_fault, AXIS2_FAILURE);
     
     binding_impl = AXIS2_INTF_TO_IMPL(wsdl_binding);



Mime
View raw message