axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r376579 [4/4] - in /webservices/axis2/trunk/c: modules/core/addr/ modules/core/clientapi/ modules/core/context/ modules/core/deployment/ modules/core/description/ modules/core/engine/ modules/core/transport/http/ modules/core/transport/http...
Date Fri, 10 Feb 2006 06:48:28 GMT
Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c Thu Feb  9 22:48:20 2006
@@ -180,7 +180,7 @@
 axis2_soap_fault_role_free(axis2_soap_fault_role_t *fault_role,
                               axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(fault_role, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(fault_role->ops)
         AXIS2_FREE((*env)->allocator, fault_role->ops);
         
@@ -195,7 +195,7 @@
                              axis2_char_t* uri)
 {
     axis2_soap_fault_role_impl_t *fault_role_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_role, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, uri, AXIS2_FAILURE);
     fault_role_impl = AXIS2_INTF_TO_IMPL(fault_role);
     
@@ -215,7 +215,7 @@
                              axis2_env_t **env)
 {
     axis2_soap_fault_role_impl_t *fault_role_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_role, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     fault_role_impl = AXIS2_INTF_TO_IMPL(fault_role);
     
     if(fault_role_impl->om_ele && fault_role_impl->om_ele_node)   
@@ -234,7 +234,7 @@
                              axis2_om_node_t *node)
 {
    axis2_soap_fault_role_impl_t *fault_role_impl = NULL;
-   AXIS2_FUNC_PARAM_CHECK(fault_role, env, AXIS2_FAILURE);
+   AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
    AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE);
    fault_role_impl = AXIS2_INTF_TO_IMPL(fault_role);
    
@@ -254,7 +254,7 @@
                         (axis2_soap_fault_role_t *fault_role,
                          axis2_env_t **env)
 {
-     AXIS2_FUNC_PARAM_CHECK(fault_role, env, NULL);
+     AXIS2_ENV_CHECK(env, NULL);
      return AXIS2_INTF_TO_IMPL(fault_role)->om_ele_node;
 }
                             
@@ -263,7 +263,7 @@
                         (axis2_soap_fault_role_t *fault_role,
                          axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(fault_role, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(fault_role)->soap_version;
 }
 
@@ -273,7 +273,7 @@
                          axis2_env_t **env,
                          int soap_version)
 {
-    AXIS2_FUNC_PARAM_CHECK(fault_role, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_version, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(fault_role)->soap_version = soap_version;
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c Thu Feb  9 22:48:20 2006
@@ -199,7 +199,7 @@
                                axis2_env_t **env)
 {
     axis2_soap_fault_sub_code_impl_t *fault_sub_code_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     fault_sub_code_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
     if(fault_sub_code_impl->value)
     {
@@ -228,7 +228,7 @@
                               axis2_soap_fault_sub_code_t *sub_code)
 {
     axis2_soap_fault_sub_code_impl_t *fault_subcode_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, sub_code, AXIS2_FAILURE);
     fault_subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
     /*
@@ -258,7 +258,7 @@
 {
     axis2_soap_fault_sub_code_impl_t *fault_subcode_impl = NULL;
     int status = AXIS2_SUCCESS;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     fault_subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
     if(fault_subcode_impl->builder)
     {
@@ -293,7 +293,7 @@
                               axis2_soap_fault_value_t *fault_sub_code_val)
 {
     axis2_soap_fault_sub_code_impl_t *fault_subcode_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, fault_sub_code_val, AXIS2_FAILURE);
     fault_subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
 
@@ -325,7 +325,7 @@
 {
     axis2_soap_fault_sub_code_impl_t *fault_subcode_impl = NULL;
     int status = AXIS2_SUCCESS;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     fault_subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
     if(fault_subcode_impl->builder)
     {
@@ -363,7 +363,7 @@
                               axis2_om_node_t *node)
 {
    axis2_soap_fault_sub_code_impl_t *fault_subcode_impl = NULL;
-   AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+   AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
    AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE);
    fault_subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);
    if(AXIS2_OM_NODE_GET_NODE_TYPE(node, env) != AXIS2_OM_ELEMENT)
@@ -380,7 +380,7 @@
                              (axis2_soap_fault_sub_code_t *fault_sub_code,
                               axis2_env_t **env)
 {
-     AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, NULL);
+     AXIS2_ENV_CHECK(env, NULL);
      return AXIS2_INTF_TO_IMPL(fault_sub_code)->om_ele_node;
 }
                                  
@@ -389,7 +389,7 @@
                              (axis2_soap_fault_sub_code_t *fault_sub_code,
                               axis2_env_t **env)
 {
-     AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
      return AXIS2_INTF_TO_IMPL(fault_sub_code)->soap_version;
 } 
 
@@ -399,7 +399,7 @@
                               axis2_env_t **env,
                               int soap_version)
 {
-     AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
      AXIS2_PARAM_CHECK((*env)->error, soap_version, AXIS2_FAILURE);
      AXIS2_INTF_TO_IMPL(fault_sub_code)->soap_version = soap_version;
      return AXIS2_SUCCESS;
@@ -411,7 +411,7 @@
                                      axis2_soap_builder_t *builder)
 {
     axis2_soap_fault_sub_code_impl_t *subcode_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_sub_code, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, builder, AXIS2_FAILURE);
     subcode_impl = AXIS2_INTF_TO_IMPL(fault_sub_code);    
     subcode_impl->builder = builder;

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c Thu Feb  9 22:48:20 2006
@@ -196,7 +196,7 @@
                                   axis2_env_t **env)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text);
     
     if(fault_text->ops)
@@ -220,7 +220,7 @@
                                       axis2_char_t* lang)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, lang, AXIS2_FAILURE);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text);
     
@@ -246,7 +246,7 @@
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
     axis2_qname_t* tmp_qname = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text);   
     /* this logic need to be rechecked */
     if(!(fault_text_impl->lang_attribute))
@@ -276,7 +276,7 @@
                                       axis2_om_node_t *node)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text);
     if(AXIS2_OM_NODE_GET_NODE_TYPE(node, env) != AXIS2_OM_ELEMENT)
@@ -298,7 +298,7 @@
                                       axis2_env_t **env)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text); 
     return fault_text_impl->om_ele_node;
 }
@@ -308,7 +308,7 @@
                                       axis2_env_t **env)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text); 
     return fault_text_impl->soap_version;
 }
@@ -319,7 +319,7 @@
                                        int soap_version)
 {
     axis2_soap_fault_text_impl_t* fault_text_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_text, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_version, AXIS2_FAILURE);
     fault_text_impl = AXIS2_INTF_TO_IMPL(fault_text);
     fault_text_impl->soap_version = soap_version;

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c Thu Feb  9 22:48:20 2006
@@ -190,7 +190,7 @@
 axis2_soap_fault_value_free(axis2_soap_fault_value_t *fault_value,
                               axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(fault_value, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(fault_value->ops)
     {
         AXIS2_FREE((*env)->allocator, fault_value->ops);
@@ -207,8 +207,7 @@
                                   axis2_om_node_t *node)
 {
     axis2_soap_fault_value_impl_t *fault_val_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(fault_value, env, AXIS2_FAILURE);
-    AXIS2_FUNC_PARAM_CHECK(node, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(AXIS2_OM_NODE_GET_NODE_TYPE(node, env) != AXIS2_OM_ELEMENT)
     {
         AXIS2_ERROR_SET((*env)->error, 

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_header.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_header.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_header.c Thu Feb  9 22:48:20 2006
@@ -209,7 +209,7 @@
                        axis2_env_t **env)
 {
     axis2_soap_header_impl_t *header_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     header_impl = AXIS2_INTF_TO_IMPL(header);
     
     if(header_impl->header_blocks)
@@ -250,7 +250,7 @@
     axis2_soap_header_block_t *header_block = NULL;
     axis2_om_node_t* header_block_node = NULL;
     axis2_char_t key[10];
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, localname, NULL);
     AXIS2_PARAM_CHECK((*env)->error, ns, NULL);
     header_impl = AXIS2_INTF_TO_IMPL(header);
@@ -293,7 +293,7 @@
                                  axis2_env_t **env,
                                  axis2_char_t* param_role)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, param_role, NULL);
     return AXIS2_INTF_TO_IMPL(header)->header_blocks;
 
@@ -307,7 +307,7 @@
 {
     axis2_soap_header_impl_t *header_impl = NULL;
     axis2_om_element_t *om_ele = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     header_impl = AXIS2_INTF_TO_IMPL(header);
     om_ele = (axis2_om_element_t *)AXIS2_OM_NODE_GET_DATA_ELEMENT(header_impl->om_ele_node,
env);
     return AXIS2_OM_ELEMENT_GET_CHILDREN_WITH_QNAME(om_ele,
@@ -328,7 +328,7 @@
     axis2_om_element_t *first_ele =  NULL;
     axis2_qname_t *qn = NULL;
     axis2_om_children_with_specific_attribute_iterator_t* iter = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     header_impl = AXIS2_INTF_TO_IMPL(header);
 
     if(header_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
@@ -360,7 +360,7 @@
                                 axis2_om_node_t *node)
 {
     axis2_soap_header_impl_t *header_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE);
     header_impl = AXIS2_INTF_TO_IMPL(header);
    
@@ -380,7 +380,7 @@
 axis2_soap_header_get_base_node(axis2_soap_header_t *header,
                                 axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(header)->om_ele_node;
 }
                                              
@@ -388,7 +388,7 @@
 axis2_soap_header_get_soap_version(axis2_soap_header_t *header,
                                    axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(header)->soap_version;
 
 }
@@ -398,7 +398,7 @@
                                    axis2_env_t **env,
                                    int soap_version)
 {
-    AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(header)->soap_version = soap_version;
     return AXIS2_SUCCESS;
 
@@ -439,7 +439,7 @@
 {
     axis2_char_t key[10];
     axis2_soap_header_impl_t *header_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, header_block, AXIS2_FAILURE);
     header_impl = AXIS2_INTF_TO_IMPL(header);
     sprintf(key,"%d", header_impl->hbnumber++);

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c Thu Feb  9 22:48:20 2006
@@ -210,7 +210,7 @@
 axis2_soap_header_block_free(axis2_soap_header_block_t *header_block,
                              axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(header_block->ops)
     {
         AXIS2_FREE((*env)->allocator, header_block->ops);
@@ -229,7 +229,7 @@
     axis2_soap_header_block_impl_t *header_block_impl = NULL;
     axis2_char_t *attr_localname = NULL;
     axis2_char_t *attr_nsuri     = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
     
     if(header_block_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
@@ -257,7 +257,7 @@
     axis2_soap_header_block_impl_t *header_block_impl = NULL;
     axis2_char_t *attr_localname = NULL;
     axis2_char_t *attr_nsuri     = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
     
     if(header_block_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
@@ -285,7 +285,7 @@
     axis2_soap_header_block_impl_t *header_block_impl = NULL;
     axis2_char_t *attr_nsuri     = NULL;
     axis2_char_t* attr_value = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
     if(header_block_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
         return AXIS2_FAILURE;
@@ -318,7 +318,7 @@
 {
     axis2_soap_header_block_impl_t *header_block_impl = NULL;
     axis2_char_t *attr_nsuri     = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, must_understand, AXIS2_FAILURE);
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
     if(header_block_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
@@ -357,7 +357,7 @@
     axis2_char_t *must_understand = NULL;
     axis2_soap_header_block_impl_t *header_block_impl = NULL;
     axis2_char_t *attr_nsuri     = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
     if(header_block_impl->soap_version == AXIS2_SOAP_VERSION_NOT_SET)
@@ -400,7 +400,7 @@
     axis2_qname_t *qn = NULL;
     axis2_om_namespace_t *om_ns = NULL;
     axis2_om_element_t *om_ele = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, attr_name, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_envelope_namespace_uri, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, attr_value, AXIS2_FAILURE);
@@ -442,7 +442,7 @@
     axis2_char_t *attr_value = NULL;
     axis2_qname_t *qn = NULL;
     axis2_om_element_t *om_ele = NULL;
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK((*env)->error, attr_name, NULL);
     AXIS2_PARAM_CHECK((*env)->error, soap_envelope_namespace_uri, NULL);
     header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
@@ -464,7 +464,7 @@
                         (axis2_soap_header_block_t *header_block,
                          axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(header_block)->processed;
 }
                         
@@ -473,7 +473,7 @@
                         (axis2_soap_header_block_t *header_block,
                          axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(header_block)->processed = AXIS2_TRUE;
     return AXIS2_SUCCESS;
 }                                                                                       
                                                                                         
  
@@ -484,7 +484,7 @@
                          axis2_om_node_t *node)
 {
    axis2_soap_header_block_impl_t *header_block_impl = NULL;
-   AXIS2_FUNC_PARAM_CHECK( header_block, env, AXIS2_FAILURE);
+   AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
    AXIS2_PARAM_CHECK((*env)->error, node, AXIS2_FAILURE);
    header_block_impl = AXIS2_INTF_TO_IMPL(header_block);
    
@@ -503,7 +503,7 @@
                         (axis2_soap_header_block_t *header_block,
                          axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     return AXIS2_INTF_TO_IMPL(header_block)->om_ele_node;
 }
                                                                                         
                                                                                       
@@ -512,7 +512,7 @@
                         (axis2_soap_header_block_t *header_block,
                          axis2_env_t **env)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     return AXIS2_INTF_TO_IMPL(header_block)->soap_version;
 }
 axis2_status_t AXIS2_CALL 
@@ -521,7 +521,7 @@
                          axis2_env_t **env,
                          int soap_version)
 {
-    AXIS2_FUNC_PARAM_CHECK(header_block, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_version, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(header_block)->soap_version = soap_version;
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_message.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_message.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_message.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_message.c Thu Feb  9 22:48:20 2006
@@ -108,7 +108,7 @@
                         axis2_env_t **env)
 {
     axis2_soap_message_impl_t *soap_message_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(message, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     soap_message_impl = AXIS2_INTF_TO_IMPL(message);
     if(soap_message_impl->om_doc)
     {
@@ -135,7 +135,7 @@
                                      axis2_env_t **env)
 {
     axis2_soap_message_impl_t* soap_message_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(message, env, NULL);
+    AXIS2_ENV_CHECK(env, NULL);
     soap_message_impl = AXIS2_INTF_TO_IMPL(message);
     if(soap_message_impl->soap_envelope)
     {
@@ -155,7 +155,7 @@
                                      axis2_soap_envelope_t *soap_envelope)
 {
     axis2_soap_message_impl_t *soap_message_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(message, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, soap_envelope, AXIS2_FAILURE);
     soap_message_impl->soap_envelope = soap_envelope;
     return AXIS2_SUCCESS;    
@@ -167,8 +167,8 @@
                              axis2_om_output_t *om_output)
 {
     axis2_soap_message_impl_t *soap_message_impl = NULL;
-    AXIS2_FUNC_PARAM_CHECK(message, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     soap_message_impl = AXIS2_INTF_TO_IMPL(message);
     return AXIS2_OM_DOCUMENT_SERIALIZE(soap_message_impl->om_doc, env, om_output);
 }                             
-                                     
\ No newline at end of file
+                                     

Modified: webservices/axis2/trunk/c/test/xml/soap/test_soap.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/test_soap.c?rev=376579&r1=376578&r2=376579&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/test/xml/soap/test_soap.c Thu Feb  9 22:48:20 2006
@@ -39,7 +39,7 @@
     axis2_om_namespace_t *om_ns =  NULL;
     axis2_char_t *uri = NULL;
     axis2_char_t *prefix = NULL;
-    AXIS2_FUNC_PARAM_CHECK(om_node, env, AXIS2_FAILURE);
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     if(AXIS2_OM_NODE_GET_NODE_TYPE(om_node, env) == AXIS2_OM_ELEMENT)
     {
         om_ele = (axis2_om_element_t *)AXIS2_OM_NODE_GET_DATA_ELEMENT(om_node, env);



Mime
View raw message