You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/06/01 07:18:49 UTC

svn commit: r410750 [2/11] - in /webservices/axis2/trunk/c: woden/include/woden/wsdl20/ woden/include/woden/wsdl20/enumeration/ woden/include/woden/wsdl20/extensions/ woden/include/woden/wsdl20/xml/ woden/include/woden/xml/ woden/src/wsdl20/ woden/src/...

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/endpoint.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/endpoint.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/endpoint.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/endpoint.c Wed May 31 22:18:45 2006
@@ -45,22 +45,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_endpoint_free(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_endpoint_super_objs(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_endpoint_type(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_endpoint_get_base_impl(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Endpoint interface methods (the WSDL Component model)
@@ -69,17 +69,17 @@
 woden_nc_name_t *AXIS2_CALL
 axis2_woden_endpoint_get_name(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_endpoint_get_binding(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_endpoint_get_address(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 /* ************************************************************
  *  Endpoint Element interface methods (the XML Element model)
  * ************************************************************/
@@ -87,29 +87,29 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_name(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         woden_nc_name_t *name);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_binding_qname(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *binding_qname);
 
 axis2_qname_t *AXIS2_CALL
 axis2_woden_endpoint_get_binding_qname(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_endpoint_get_binding_element(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_address(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri);
 
 /******************************************************************************
@@ -119,22 +119,22 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_binding_element(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *binding);
 
 static axis2_woden_endpoint_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_endpoint_free_ops(
         void *endpoint,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_endpoint_element(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
@@ -149,7 +149,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
 
     endpoint_impl->endpoint.base.endpoint_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_endpoint_element_ops_t));
     axis2_woden_endpoint_element_resolve_methods(&(endpoint_impl->endpoint.base.
             endpoint_element), env, endpoint_impl->methods);
@@ -159,7 +159,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_nested_element(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
@@ -175,7 +175,7 @@
 
 
     endpoint_impl->endpoint.base.endpoint_element.base.nested_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_element_ops_t));
     axis2_woden_nested_element_resolve_methods(&(endpoint_impl->endpoint.base.
             endpoint_element.base.nested_element), env, endpoint_impl->methods);
@@ -185,7 +185,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_documentable_element(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
@@ -201,7 +201,7 @@
 
 
     endpoint_impl->endpoint.base.endpoint_element.base.documentable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_element_ops_t));
     axis2_woden_documentable_element_resolve_methods(&(endpoint_impl->endpoint.base.
             endpoint_element.base.documentable_element), env, 
@@ -212,7 +212,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_nested_configurable(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
@@ -227,7 +227,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
 
     endpoint_impl->endpoint.base.nested_configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_configurable_ops_t));
     axis2_woden_nested_configurable_resolve_methods(&(endpoint_impl->endpoint.base.
             nested_configurable), env, endpoint_impl->nested_configurable, 
@@ -238,7 +238,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_configurable(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     void *configurable = NULL;
@@ -254,7 +254,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
 
     endpoint_impl->endpoint.base.nested_configurable.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     configurable = AXIS2_WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
             endpoint_impl->nested_configurable, env);
@@ -267,7 +267,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_nested_component(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     
@@ -282,7 +282,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
   
     endpoint_impl->endpoint.base.nested_configurable.base.nested_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_component_ops_t));
     axis2_woden_nested_component_resolve_methods(&(endpoint_impl->endpoint.base.
             nested_configurable.base.nested_component), env, endpoint_impl->methods);
@@ -292,7 +292,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_configurable_component(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     
@@ -307,7 +307,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
   
     endpoint_impl->endpoint.base.configurable_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_component_ops_t));
     axis2_woden_configurable_component_resolve_methods(&(endpoint_impl->endpoint.base.
             configurable_component), env, endpoint_impl->methods);
@@ -317,7 +317,7 @@
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
 axis2_woden_endpoint_to_wsdl_component(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -333,7 +333,7 @@
     axis2_woden_endpoint_free_ops(endpoint, env);
 
     endpoint_impl->endpoint.base.configurable_component.wsdl_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_wsdl_component_ops_t));
     axis2_woden_wsdl_component_resolve_methods(&(endpoint_impl->endpoint.base.
             configurable_component.wsdl_component), env, endpoint_impl->methods);
@@ -342,12 +342,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_endpoint_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    endpoint_impl = AXIS2_MALLOC((*env)->allocator, 
+    endpoint_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_endpoint_impl_t));
 
     endpoint_impl->obj_type= AXIS2_WODEN_ENDPOINT;
@@ -368,7 +368,7 @@
     endpoint_impl->endpoint.base.configurable_component.ops = NULL;
     endpoint_impl->endpoint.base.configurable_component.wsdl_component.ops = NULL;
     
-    endpoint_impl->endpoint.ops = AXIS2_MALLOC((*env)->allocator, 
+    endpoint_impl->endpoint.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_endpoint_ops_t));
 
     endpoint_impl->endpoint.ops->free = axis2_woden_endpoint_free;
@@ -384,7 +384,7 @@
     endpoint_impl->methods = axis2_hash_make(env);
     if(!endpoint_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(endpoint_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -426,7 +426,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_endpoint_t *)
-axis2_woden_endpoint_create(axis2_env_t **env)
+axis2_woden_endpoint_create(const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
    
@@ -438,7 +438,7 @@
     endpoint_impl->super = axis2_hash_make(env);
     if(!endpoint_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(endpoint_impl->super, "AXIS2_WODEN_ENDPOINT", AXIS2_HASH_KEY_STRING, 
@@ -452,7 +452,7 @@
 static axis2_status_t
 axis2_woden_endpoint_free_ops(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -461,14 +461,14 @@
 
     if(endpoint_impl->endpoint.base.endpoint_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 endpoint_element.ops);
         endpoint_impl->endpoint.base.endpoint_element.ops = NULL;
     }
 
     if(endpoint_impl->endpoint.base.endpoint_element.base.nested_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 endpoint_element.base.nested_element.ops);
         endpoint_impl->endpoint.base.endpoint_element.base.nested_element.ops = 
             NULL;
@@ -476,7 +476,7 @@
     
     if(endpoint_impl->endpoint.base.endpoint_element.base.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 endpoint_element.base.documentable_element.ops);
         endpoint_impl->endpoint.base.endpoint_element.base.documentable_element.ops = 
             NULL;
@@ -484,7 +484,7 @@
     
     if(endpoint_impl->endpoint.base.nested_configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 nested_configurable.ops);
         endpoint_impl->endpoint.base.nested_configurable.ops = 
             NULL;
@@ -492,7 +492,7 @@
     
     if(endpoint_impl->endpoint.base.nested_configurable.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 nested_configurable.base.configurable.ops);
         endpoint_impl->endpoint.base.nested_configurable.base.configurable.ops = 
             NULL;
@@ -500,21 +500,21 @@
 
     if(endpoint_impl->endpoint.base.nested_configurable.base.nested_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 nested_configurable.base.nested_component.ops);
         endpoint_impl->endpoint.base.nested_configurable.base.nested_component.ops = NULL;
     }
 
     if(endpoint_impl->endpoint.base.configurable_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 configurable_component.ops);
         endpoint_impl->endpoint.base.configurable_component.ops = NULL;
     }
 
     if(endpoint_impl->endpoint.base.configurable_component.wsdl_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl->endpoint.base.
+        AXIS2_FREE(env->allocator, endpoint_impl->endpoint.base.
                 configurable_component.wsdl_component.ops);
         endpoint_impl->endpoint.base.configurable_component.wsdl_component.ops = NULL;
     }
@@ -525,7 +525,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_free(void *endpoint,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -580,13 +580,13 @@
 
     if((&(endpoint_impl->endpoint))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(endpoint_impl->endpoint))->ops);
+        AXIS2_FREE(env->allocator, (&(endpoint_impl->endpoint))->ops);
         (&(endpoint_impl->endpoint))->ops = NULL;
     }
     
     if(endpoint_impl)
     {
-        AXIS2_FREE((*env)->allocator, endpoint_impl);
+        AXIS2_FREE(env->allocator, endpoint_impl);
         endpoint_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -595,7 +595,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_endpoint_super_objs(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -608,7 +608,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_endpoint_type(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -621,7 +621,7 @@
 axis2_woden_nested_configurable_t *AXIS2_CALL
 axis2_woden_endpoint_get_base_impl(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
 
@@ -634,14 +634,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_resolve_methods(
         axis2_woden_endpoint_t *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_endpoint_t *endpoint_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     endpoint_impl_l = INTF_TO_IMPL(endpoint_impl);
     
     endpoint->ops->free = axis2_hash_get(methods, "free", 
@@ -684,7 +684,7 @@
 woden_nc_name_t *AXIS2_CALL
 axis2_woden_endpoint_get_name(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -700,7 +700,7 @@
 void *AXIS2_CALL
 axis2_woden_endpoint_get_binding(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -716,7 +716,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_endpoint_get_address(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -735,7 +735,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_name(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         woden_nc_name_t *name)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
@@ -757,7 +757,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_binding_qname(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *binding_qname)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
@@ -780,7 +780,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_endpoint_get_binding_qname(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -796,7 +796,7 @@
 void *AXIS2_CALL
 axis2_woden_endpoint_get_binding_element(
         void *endpoint,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -812,7 +812,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_address(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;
@@ -839,7 +839,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_set_binding_element(
         void *endpoint,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *binding)
 {
     axis2_woden_endpoint_impl_t *endpoint_impl = NULL;

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/direction.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/direction.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/direction.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/direction.c Wed May 31 22:18:45 2006
@@ -36,36 +36,36 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_direction_free(
         void *direction,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_direction_get_direction_in(
         void *direction,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_direction_get_direction_out(
         void *direction,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_woden_direction_to_string(
         void *direction,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_direction_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    direction_impl = AXIS2_MALLOC((*env)->allocator, 
+    direction_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_direction_impl_t));
 
     direction_impl->f_value = NULL;
    
-    direction_impl->direction.ops = AXIS2_MALLOC((*env)->allocator, 
+    direction_impl->direction.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_direction_ops_t));
     
     direction_impl->direction.ops->free = axis2_woden_direction_free;
@@ -82,7 +82,7 @@
 
 AXIS2_DECLARE(axis2_woden_direction_t *)
 axis2_woden_direction_create(
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *value)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
@@ -98,7 +98,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_direction_free(
         void *direction,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
 
@@ -107,19 +107,19 @@
 
     if(direction_impl->f_value)
     {
-        AXIS2_FREE((*env)->allocator, direction_impl->f_value);
+        AXIS2_FREE(env->allocator, direction_impl->f_value);
         direction_impl->f_value = NULL;
     }
 
     if((&(direction_impl->direction))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(direction_impl->direction))->ops);
+        AXIS2_FREE(env->allocator, (&(direction_impl->direction))->ops);
         (&(direction_impl->direction))->ops = NULL;
     }
 
     if(direction_impl)
     {
-        AXIS2_FREE((*env)->allocator, direction_impl);
+        AXIS2_FREE(env->allocator, direction_impl);
         direction_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -128,7 +128,7 @@
 void *AXIS2_CALL
 axis2_woden_direction_get_direction_in(
         void *direction,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
 
@@ -144,7 +144,7 @@
 void *AXIS2_CALL
 axis2_woden_direction_get_direction_out(
         void *direction,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
 
@@ -159,7 +159,7 @@
 axis2_char_t *AXIS2_CALL
 axis2_woden_direction_to_string(
         void *direction,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_direction_impl_t *direction_impl = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/msg_label.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/msg_label.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/msg_label.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/msg_label.c Wed May 31 22:18:45 2006
@@ -37,48 +37,48 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_msg_label_free(
         void *msg_label,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_msg_label_get_msg_label_in(
         void *msg_label,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_msg_label_get_msg_label_out(
         void *msg_label,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_woden_msg_label_to_string(
         void *msg_label,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_msg_label_is_valid(
         void *msg_label,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_msg_label_equals(
         void *msg_label,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_msg_label_t *other);
 
 static axis2_woden_msg_label_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    msg_label_impl = AXIS2_MALLOC((*env)->allocator, 
+    msg_label_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_msg_label_impl_t));
 
     msg_label_impl->f_value = NULL;
     msg_label_impl->f_valid = AXIS2_TRUE;
    
-    msg_label_impl->msg_label.ops = AXIS2_MALLOC((*env)->allocator, 
+    msg_label_impl->msg_label.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_msg_label_ops_t));
     
     msg_label_impl->msg_label.ops->free = axis2_woden_msg_label_free;
@@ -97,7 +97,7 @@
 
 AXIS2_DECLARE(axis2_woden_msg_label_t *)
 axis2_woden_msg_label_create(
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *value,
         axis2_bool_t valid)
 {
@@ -115,7 +115,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_msg_label_free(
         void *msg_label,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
 
@@ -124,19 +124,19 @@
 
     if(msg_label_impl->f_value)
     {
-        AXIS2_FREE((*env)->allocator, msg_label_impl->f_value);
+        AXIS2_FREE(env->allocator, msg_label_impl->f_value);
         msg_label_impl->f_value = NULL;
     }
 
     if((&(msg_label_impl->msg_label))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(msg_label_impl->msg_label))->ops);
+        AXIS2_FREE(env->allocator, (&(msg_label_impl->msg_label))->ops);
         (&(msg_label_impl->msg_label))->ops = NULL;
     }
 
     if(msg_label_impl)
     {
-        AXIS2_FREE((*env)->allocator, msg_label_impl);
+        AXIS2_FREE(env->allocator, msg_label_impl);
         msg_label_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -145,7 +145,7 @@
 void *AXIS2_CALL
 axis2_woden_msg_label_get_msg_label_in(
         void *msg_label,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
 
@@ -161,7 +161,7 @@
 void *AXIS2_CALL
 axis2_woden_msg_label_get_msg_label_out(
         void *msg_label,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
 
@@ -177,7 +177,7 @@
 axis2_char_t *AXIS2_CALL
 axis2_woden_msg_label_to_string(
         void *msg_label,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
 
@@ -190,7 +190,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_msg_label_is_valid(
         void *msg_label,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
 
@@ -203,14 +203,14 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_msg_label_equals(
         void *msg_label,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_msg_label_t *other)
 {
     axis2_woden_msg_label_impl_t *msg_label_impl = NULL;
     axis2_char_t *value = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, other, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, other, AXIS2_FAILURE);
     msg_label_impl = INTF_TO_IMPL(msg_label);
 
     value = AXIS2_WODEN_MSG_LABEL_TO_STRING(other, env);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_code.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_code.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_code.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_code.c Wed May 31 22:18:45 2006
@@ -36,43 +36,43 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_soap_fault_code_free(
         void *soap_fault_code,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_code_is_qname(
         void *soap_fault_code,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_code_is_token(
         void *soap_fault_code,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_qname_t *AXIS2_CALL
 axis2_woden_soap_fault_code_get_qname(
         void *soap_fault_code,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_woden_soap_fault_code_get_token(
         void *soap_fault_code,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 
 static axis2_woden_soap_fault_code_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    soap_fault_code_impl = AXIS2_MALLOC((*env)->allocator, 
+    soap_fault_code_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_soap_fault_code_impl_t));
 
     soap_fault_code_impl->f_token = NULL;
     soap_fault_code_impl->f_code_qn = NULL;
    
-    soap_fault_code_impl->soap_fault_code.ops = AXIS2_MALLOC((*env)->allocator, 
+    soap_fault_code_impl->soap_fault_code.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_soap_fault_code_ops_t));
     
     soap_fault_code_impl->soap_fault_code.ops->free = axis2_woden_soap_fault_code_free;
@@ -92,7 +92,7 @@
 
 AXIS2_DECLARE(axis2_woden_soap_fault_code_t *)
 axis2_woden_soap_fault_code_create(
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *token,
         axis2_qname_t *code_qn)
 {
@@ -110,7 +110,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_soap_fault_code_free(
         void *soap_fault_code,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
 
@@ -119,7 +119,7 @@
 
     if(soap_fault_code_impl->f_token)
     {
-        AXIS2_FREE((*env)->allocator, soap_fault_code_impl->f_token);
+        AXIS2_FREE(env->allocator, soap_fault_code_impl->f_token);
         soap_fault_code_impl->f_token = NULL;
     }
 
@@ -131,13 +131,13 @@
 
     if((&(soap_fault_code_impl->soap_fault_code))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(soap_fault_code_impl->soap_fault_code))->ops);
+        AXIS2_FREE(env->allocator, (&(soap_fault_code_impl->soap_fault_code))->ops);
         (&(soap_fault_code_impl->soap_fault_code))->ops = NULL;
     }
 
     if(soap_fault_code_impl)
     {
-        AXIS2_FREE((*env)->allocator, soap_fault_code_impl);
+        AXIS2_FREE(env->allocator, soap_fault_code_impl);
         soap_fault_code_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -145,7 +145,7 @@
 
 void *AXIS2_CALL
 axis2_woden_soap_fault_code_get_soap_fault_code_any(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
@@ -160,7 +160,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_code_get_soap_fault_code_is_qname(
         void *soap_fault_code,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
 
@@ -173,7 +173,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_code_is_token(
         void *soap_fault_code,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
 
@@ -186,7 +186,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_soap_fault_code_get_qname(
         void *soap_fault_code,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
 
@@ -199,7 +199,7 @@
 axis2_char_t *AXIS2_CALL
 axis2_woden_soap_fault_code_get_token(
         void *soap_fault_code,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_code_impl_t *soap_fault_code_impl = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_subcodes.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_subcodes.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_subcodes.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/enumeration/soap_fault_subcodes.c Wed May 31 22:18:45 2006
@@ -36,43 +36,43 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_soap_fault_subcodes_free(
         void *soap_fault_subcodes,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_subcodes_is_qnames(
         void *soap_fault_subcodes,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_subcodes_is_token(
         void *soap_fault_subcodes,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_qnames(
         void *soap_fault_subcodes,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_char_t *AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_token(
         void *soap_fault_subcodes,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 
 static axis2_woden_soap_fault_subcodes_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    soap_fault_subcodes_impl = AXIS2_MALLOC((*env)->allocator, 
+    soap_fault_subcodes_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_soap_fault_subcodes_impl_t));
 
     soap_fault_subcodes_impl->f_token = NULL;
     soap_fault_subcodes_impl->f_subcode_qns = NULL;
    
-    soap_fault_subcodes_impl->soap_fault_subcodes.ops = AXIS2_MALLOC((*env)->allocator, 
+    soap_fault_subcodes_impl->soap_fault_subcodes.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_soap_fault_subcodes_ops_t));
     
     soap_fault_subcodes_impl->soap_fault_subcodes.ops->free = axis2_woden_soap_fault_subcodes_free;
@@ -92,7 +92,7 @@
 
 AXIS2_DECLARE(axis2_woden_soap_fault_subcodes_t *)
 axis2_woden_soap_fault_subcodes_create(
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *token,
         axis2_array_list_t *subcode_qns)
 {
@@ -110,7 +110,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_soap_fault_subcodes_free(
         void *soap_fault_subcodes,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
 
@@ -119,7 +119,7 @@
 
     if(soap_fault_subcodes_impl->f_token)
     {
-        AXIS2_FREE((*env)->allocator, soap_fault_subcodes_impl->f_token);
+        AXIS2_FREE(env->allocator, soap_fault_subcodes_impl->f_token);
         soap_fault_subcodes_impl->f_token = NULL;
     }
 
@@ -141,13 +141,13 @@
 
     if((&(soap_fault_subcodes_impl->soap_fault_subcodes))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(soap_fault_subcodes_impl->soap_fault_subcodes))->ops);
+        AXIS2_FREE(env->allocator, (&(soap_fault_subcodes_impl->soap_fault_subcodes))->ops);
         (&(soap_fault_subcodes_impl->soap_fault_subcodes))->ops = NULL;
     }
 
     if(soap_fault_subcodes_impl)
     {
-        AXIS2_FREE((*env)->allocator, soap_fault_subcodes_impl);
+        AXIS2_FREE(env->allocator, soap_fault_subcodes_impl);
         soap_fault_subcodes_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -155,7 +155,7 @@
 
 void *AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_soap_fault_subcodes_any(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
@@ -169,7 +169,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_soap_fault_subcodes_is_qnames(
         void *soap_fault_subcodes,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
     int size = 0;
@@ -184,7 +184,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_soap_fault_subcodes_is_token(
         void *soap_fault_subcodes,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
 
@@ -197,7 +197,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_qnames(
         void *soap_fault_subcodes,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
 
@@ -210,7 +210,7 @@
 axis2_char_t *AXIS2_CALL
 axis2_woden_soap_fault_subcodes_get_token(
         void *soap_fault_subcodes,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_soap_fault_subcodes_impl_t *soap_fault_subcodes_impl = NULL;
 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/component_exts.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/component_exts.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/component_exts.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/component_exts.c Wed May 31 22:18:45 2006
@@ -37,39 +37,39 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_component_exts_free(
         void *component_exts,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_component_exts_get_namespace(
         void *component_exts,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_component_exts_get_parent_element(
         void *component_exts,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_component_exts_init(
         void *component_exts,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *parent_el,
         axis2_url_t *namespc);
  
 AXIS2_DECLARE(axis2_woden_component_exts_t *)
 axis2_woden_component_exts_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_component_exts_impl_t *component_exts_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    component_exts_impl = AXIS2_MALLOC((*env)->allocator, 
+    component_exts_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_component_exts_impl_t));
 
     component_exts_impl->f_parent_element = NULL;
     component_exts_impl->f_namespc = NULL;
 
-    component_exts_impl->component_exts.ops = AXIS2_MALLOC((*env)->allocator, 
+    component_exts_impl->component_exts.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_component_exts_ops_t)); 
     
     component_exts_impl->component_exts.ops->free = 
@@ -87,7 +87,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_component_exts_free(
         void *component_exts,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_component_exts_impl_t *component_exts_impl = NULL;
 
@@ -108,13 +108,13 @@
     
     if((&(component_exts_impl->component_exts))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(component_exts_impl->component_exts))->ops);
+        AXIS2_FREE(env->allocator, (&(component_exts_impl->component_exts))->ops);
         (&(component_exts_impl->component_exts))->ops = NULL;
     }
 
     if(component_exts_impl)
     {
-        AXIS2_FREE((*env)->allocator, component_exts_impl);
+        AXIS2_FREE(env->allocator, component_exts_impl);
         component_exts_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -123,13 +123,13 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_component_exts_resolve_methods(
         axis2_woden_component_exts_t *component_exts,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_hash_t *methods)
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     
-    component_exts->ops = AXIS2_MALLOC((*env)->allocator, 
+    component_exts->ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_component_exts_ops_t));
     component_exts->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);
@@ -150,7 +150,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_component_exts_get_namespace(
         void *component_exts,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_component_exts_impl_t *component_exts_impl = NULL;
 
@@ -162,7 +162,7 @@
 void *AXIS2_CALL
 axis2_woden_component_exts_get_parent_element(
         void *component_exts,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_component_exts_impl_t *component_exts_impl = NULL;
 
@@ -174,7 +174,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_component_exts_init(
         void *component_exts,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *parent_el,
         axis2_url_t *namespc) 
 {

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/feature.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/feature.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/feature.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/feature.c Wed May 31 22:18:45 2006
@@ -44,79 +44,79 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_feature_free(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_feature_super_objs(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_feature_type(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_feature_get_base_impl(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_ref(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *ref);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_feature_get_ref(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_required(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_bool_t required);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_feature_is_required(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_parent_element(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *parent);
 
 void *AXIS2_CALL
 axis2_woden_feature_get_parent_element(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_feature_get_parent(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_feature_to_element(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_feature_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_feature_free_ops(
         void *feature,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_feature_element(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
@@ -130,7 +130,7 @@
     axis2_woden_feature_free_ops(feature, env);
 
     feature_impl->feature.base.feature_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_feature_element_ops_t));
     axis2_woden_feature_element_resolve_methods(&(feature_impl->feature.base.
             feature_element), env, feature_impl->methods);
@@ -140,7 +140,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_nested_element(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
@@ -154,7 +154,7 @@
     axis2_woden_feature_free_ops(feature, env);
 
     feature_impl->feature.base.feature_element.base.nested_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_element_ops_t));
     axis2_woden_nested_element_resolve_methods(&(feature_impl->feature.base.
             feature_element.base.nested_element), env, feature_impl->methods);
@@ -164,7 +164,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_documentable_element(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
@@ -178,7 +178,7 @@
     axis2_woden_feature_free_ops(feature, env);
 
     feature_impl->feature.base.feature_element.base.documentable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_element_ops_t));
     axis2_woden_documentable_element_resolve_methods(&(feature_impl->feature.base.
             feature_element.base.documentable_element), env, 
@@ -189,7 +189,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_documentable(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
@@ -203,7 +203,7 @@
     axis2_woden_feature_free_ops(feature, env);
 
     feature_impl->feature.base.documentable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_ops_t));
     axis2_woden_documentable_resolve_methods(&(feature_impl->feature.base.
             documentable), env, feature_impl->documentable, 
@@ -214,7 +214,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_wsdl_obj(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     void *wsdl_obj = NULL;
@@ -229,7 +229,7 @@
     axis2_woden_feature_free_ops(feature, env);
 
     feature_impl->feature.base.documentable.base.wsdl_obj.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_wsdl_obj_ops_t));
     wsdl_obj = AXIS2_WODEN_DOCUMENTABLE_GET_BASE_IMPL(
             feature_impl->documentable, env);
@@ -241,7 +241,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_nested_component(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     
@@ -255,7 +255,7 @@
     axis2_woden_feature_free_ops(feature, env);
   
     feature_impl->feature.base.nested_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_nested_component_ops_t));
     axis2_woden_nested_component_resolve_methods(&(feature_impl->feature.base.
             nested_component), env, feature_impl->methods);
@@ -265,7 +265,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_wsdl_component(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -279,7 +279,7 @@
         feature_impl = (axis2_woden_feature_impl_t *) feature;
     axis2_woden_feature_free_ops(feature, env);
     feature_impl->feature.base.nested_component.wsdl_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_wsdl_component_ops_t));
     axis2_woden_wsdl_component_resolve_methods(&(feature_impl->feature.base.
             nested_component.wsdl_component), env, feature_impl->methods);
@@ -289,7 +289,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_attr_extensible(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -305,7 +305,7 @@
 
     feature_impl->feature.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.attr_extensible.ops =
-            AXIS2_MALLOC((*env)->allocator, 
+            AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_attr_extensible_ops_t));
     axis2_woden_attr_extensible_resolve_methods(&(feature_impl->feature.base.
             documentable.base.wsdl_obj.base.wsdl_element.base.attr_extensible), 
@@ -317,7 +317,7 @@
 AXIS2_DECLARE(axis2_woden_feature_t *)
 axis2_woden_feature_to_element_extensible(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -331,7 +331,7 @@
         feature_impl = (axis2_woden_feature_impl_t *) feature;
     axis2_woden_feature_free_ops(feature, env);
     feature_impl->feature.base.documentable.base.wsdl_obj.base.wsdl_element.
-                base.element_extensible.ops = AXIS2_MALLOC((*env)->allocator, 
+                base.element_extensible.ops = AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_element_extensible_ops_t));
     axis2_woden_element_extensible_resolve_methods(&(feature_impl->feature.base.
             documentable.base.wsdl_obj.base.wsdl_element.base.element_extensible), 
@@ -342,12 +342,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_feature_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    feature_impl = AXIS2_MALLOC((*env)->allocator, 
+    feature_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_feature_impl_t));
 
     feature_impl->obj_type= AXIS2_WODEN_FEATURE;
@@ -370,7 +370,7 @@
     feature_impl->feature.base.documentable.base.wsdl_obj.base.wsdl_element.
             base.element_extensible.ops = NULL;
     
-    feature_impl->feature.ops = AXIS2_MALLOC((*env)->allocator, 
+    feature_impl->feature.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_feature_ops_t));
 
     feature_impl->feature.ops->free = axis2_woden_feature_free;
@@ -387,7 +387,7 @@
     feature_impl->methods = axis2_hash_make(env);
     if(!feature_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(feature_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -426,7 +426,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_feature_t *)
-axis2_woden_feature_create(axis2_env_t **env)
+axis2_woden_feature_create(const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
    
@@ -438,7 +438,7 @@
     feature_impl->super = axis2_hash_make(env);
     if(!feature_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(feature_impl->super, "AXIS2_WODEN_FEATURE", AXIS2_HASH_KEY_STRING, 
@@ -452,7 +452,7 @@
 static axis2_status_t
 axis2_woden_feature_free_ops(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -461,14 +461,14 @@
 
     if(feature_impl->feature.base.feature_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 feature_element.ops);
         feature_impl->feature.base.feature_element.ops = NULL;
     }
 
     if(feature_impl->feature.base.feature_element.base.nested_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 feature_element.base.nested_element.ops);
         feature_impl->feature.base.feature_element.base.nested_element.ops = 
             NULL;
@@ -476,7 +476,7 @@
     
     if(feature_impl->feature.base.feature_element.base.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 feature_element.base.documentable_element.ops);
         feature_impl->feature.base.feature_element.base.documentable_element.ops = 
             NULL;
@@ -484,7 +484,7 @@
     
     if(feature_impl->feature.base.documentable.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 documentable.ops);
         feature_impl->feature.base.documentable.ops = 
             NULL;
@@ -492,7 +492,7 @@
     
     if(feature_impl->feature.base.documentable.base.wsdl_obj.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 documentable.base.wsdl_obj.ops);
         feature_impl->feature.base.documentable.base.wsdl_obj.ops = 
             NULL;
@@ -500,14 +500,14 @@
 
     if(feature_impl->feature.base.nested_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 nested_component.ops);
         feature_impl->feature.base.nested_component.ops = NULL;
     }
 
     if(feature_impl->feature.base.nested_component.wsdl_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.
                 nested_component.wsdl_component.ops);
         feature_impl->feature.base.nested_component.wsdl_component.ops = NULL;
     }
@@ -516,7 +516,7 @@
     if(feature_impl->feature.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.attr_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.documentable.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.attr_extensible.ops);
         feature_impl->feature.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.attr_extensible.ops = NULL;
@@ -525,7 +525,7 @@
     if(feature_impl->feature.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl->feature.base.documentable.
+        AXIS2_FREE(env->allocator, feature_impl->feature.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.element_extensible.ops);
         feature_impl->feature.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.element_extensible.ops = NULL;
@@ -536,7 +536,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_free(void *feature,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -573,13 +573,13 @@
 
     if((&(feature_impl->feature))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(feature_impl->feature))->ops);
+        AXIS2_FREE(env->allocator, (&(feature_impl->feature))->ops);
         (&(feature_impl->feature))->ops = NULL;
     }
     
     if(feature_impl)
     {
-        AXIS2_FREE((*env)->allocator, feature_impl);
+        AXIS2_FREE(env->allocator, feature_impl);
         feature_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -588,7 +588,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_feature_super_objs(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -601,7 +601,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_feature_type(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -614,7 +614,7 @@
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_feature_get_base_impl(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
 
@@ -627,14 +627,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_resolve_methods(
         axis2_woden_feature_t *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_feature_t *feature_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_feature_impl_t *feature_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     feature_impl_l = INTF_TO_IMPL(feature_impl);
     
     feature->ops->free = axis2_hash_get(methods, "free", 
@@ -674,7 +674,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_ref(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *ref)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
@@ -696,7 +696,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_feature_get_ref(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -712,7 +712,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_required(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_bool_t required)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
@@ -730,7 +730,7 @@
 axis2_bool_t AXIS2_CALL
 axis2_woden_feature_is_required(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -746,7 +746,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_set_parent_element(
         void *feature,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *parent)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
@@ -768,7 +768,7 @@
 void *AXIS2_CALL
 axis2_woden_feature_get_parent_element(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -784,7 +784,7 @@
 void *AXIS2_CALL
 axis2_woden_feature_get_parent(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -801,7 +801,7 @@
 void *AXIS2_CALL
 axis2_woden_feature_to_element(
         void *feature,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_feature_impl_t *feature_impl = NULL;
     axis2_hash_t *super = NULL;

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/interface.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/interface.c?rev=410750&r1=410749&r2=410750&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/interface.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/interface.c Wed May 31 22:18:45 2006
@@ -48,22 +48,22 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_interface_free(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_interface_super_objs(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_interface_type(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_configurable_t *AXIS2_CALL
 axis2_woden_interface_get_base_impl(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  Interface interface methods (the WSDL Component model)
@@ -71,33 +71,33 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_get_qname(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_extended_interfaces(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_faults(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_get_interface_fault(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_ops(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_interface_to_element(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /* ************************************************************
  *  InterfaceElement interface methods (the XML Element model)
@@ -105,73 +105,73 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_set_qname(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_style_default_uri(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri);
 
 void *AXIS2_CALL
 axis2_woden_interface_get_style_default(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_extended_qname(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *qname);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_extends_qnames(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_interface_fault_element(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_fault_elements(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_interface_op_element(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *op);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_op_elements(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_extended_interface(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *extended_interface);
 
 
 static axis2_woden_interface_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 static axis2_status_t
 axis2_woden_interface_free_ops(
         void *interface,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_interface_t *)
 axis2_woden_interface_to_interface_element(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
@@ -186,7 +186,7 @@
     axis2_woden_interface_free_ops(interface, env);
 
     interface_impl->interface.base.interface_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_interface_element_ops_t));
     axis2_woden_interface_element_resolve_methods(&(interface_impl->interface.base.
             interface_element), env, interface_impl->methods);
@@ -196,7 +196,7 @@
 AXIS2_DECLARE(axis2_woden_interface_t *)
 axis2_woden_interface_to_configurable_element(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
@@ -211,7 +211,7 @@
     axis2_woden_interface_free_ops(interface, env);
 
     interface_impl->interface.base.interface_element.base.configurable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_element_ops_t));
     axis2_woden_configurable_element_resolve_methods(&(interface_impl->interface.base.
             interface_element.base.configurable_element), env, interface_impl->methods);
@@ -221,7 +221,7 @@
 AXIS2_DECLARE(axis2_woden_interface_t *)
 axis2_woden_interface_to_documentable_element(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
@@ -236,7 +236,7 @@
     axis2_woden_interface_free_ops(interface, env);
 
     interface_impl->interface.base.interface_element.base.documentable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_element_ops_t));
     axis2_woden_documentable_element_resolve_methods(&(interface_impl->interface.base.
             interface_element.base.documentable_element), env, 
@@ -247,7 +247,7 @@
 AXIS2_DECLARE(axis2_woden_interface_t *)
 axis2_woden_interface_to_configurable(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
@@ -262,7 +262,7 @@
     axis2_woden_interface_free_ops(interface, env);
 
     interface_impl->interface.base.configurable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_configurable_ops_t));
     axis2_woden_configurable_resolve_methods(&(interface_impl->interface.base.
             configurable), env, interface_impl->configurable, 
@@ -272,12 +272,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_interface_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    interface_impl = AXIS2_MALLOC((*env)->allocator, 
+    interface_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_interface_impl_t));
 
     interface_impl->obj_type= AXIS2_WODEN_INTERFACE;
@@ -295,7 +295,7 @@
     interface_impl->interface.base.interface_element.base.configurable_element.ops = NULL;
     interface_impl->interface.base.configurable.ops = NULL;
     
-    interface_impl->interface.ops = AXIS2_MALLOC((*env)->allocator, 
+    interface_impl->interface.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_interface_ops_t));
 
     interface_impl->interface.ops->free = axis2_woden_interface_free;
@@ -318,7 +318,7 @@
     interface_impl->methods = axis2_hash_make(env);
     if(!interface_impl->methods) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -381,7 +381,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_interface_t *)
-axis2_woden_interface_create(axis2_env_t **env)
+axis2_woden_interface_create(const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
    
@@ -393,7 +393,7 @@
     interface_impl->super = axis2_hash_make(env);
     if(!interface_impl->super) 
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     axis2_hash_set(interface_impl->super, "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING, 
@@ -407,7 +407,7 @@
 static axis2_status_t
 axis2_woden_interface_free_ops(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
 
@@ -416,14 +416,14 @@
 
     if(interface_impl->interface.base.interface_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl->interface.base.
+        AXIS2_FREE(env->allocator, interface_impl->interface.base.
                 interface_element.ops);
         interface_impl->interface.base.interface_element.ops = NULL;
     }
 
     if(interface_impl->interface.base.interface_element.base.configurable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl->interface.base.
+        AXIS2_FREE(env->allocator, interface_impl->interface.base.
                 interface_element.base.configurable_element.ops);
         interface_impl->interface.base.interface_element.base.configurable_element.ops = 
             NULL;
@@ -431,7 +431,7 @@
     
     if(interface_impl->interface.base.interface_element.base.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl->interface.base.
+        AXIS2_FREE(env->allocator, interface_impl->interface.base.
                 interface_element.base.documentable_element.ops);
         interface_impl->interface.base.interface_element.base.documentable_element.ops = 
             NULL;
@@ -439,7 +439,7 @@
     
     if(interface_impl->interface.base.configurable.ops)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl->interface.base.
+        AXIS2_FREE(env->allocator, interface_impl->interface.base.
                 configurable.ops);
         interface_impl->interface.base.configurable.ops = 
             NULL;
@@ -451,7 +451,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_free(void *interface,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
 
@@ -516,13 +516,13 @@
 
     if((&(interface_impl->interface))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(interface_impl->interface))->ops);
+        AXIS2_FREE(env->allocator, (&(interface_impl->interface))->ops);
         (&(interface_impl->interface))->ops = NULL;
     }
     
     if(interface_impl)
     {
-        AXIS2_FREE((*env)->allocator, interface_impl);
+        AXIS2_FREE(env->allocator, interface_impl);
         interface_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -531,7 +531,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_interface_super_objs(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
 
@@ -544,7 +544,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_interface_type(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
 
@@ -557,7 +557,7 @@
 axis2_woden_configurable_t *AXIS2_CALL
 axis2_woden_interface_get_base_impl(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
 
@@ -570,14 +570,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_resolve_methods(
         axis2_woden_interface_t *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_interface_t *interface_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_interface_impl_t *interface_impl_l = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, methods, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
     interface_impl_l = INTF_TO_IMPL(interface_impl);
     
     interface->ops->free = axis2_hash_get(methods, "free", 
@@ -632,7 +632,7 @@
 axis2_qname_t *AXIS2_CALL
 axis2_woden_interface_get_qname(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -648,7 +648,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_extended_interfaces(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -664,7 +664,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_faults(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -680,7 +680,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_get_interface_fault(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
@@ -689,7 +689,7 @@
     void *fault;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, NULL);
+    AXIS2_PARAM_CHECK(env->error, qname, NULL);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -716,7 +716,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_ops(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -732,7 +732,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_to_element(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -751,14 +751,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_set_qname(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -774,14 +774,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_style_default_uri(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *uri)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -791,7 +791,7 @@
         interface_impl->f_style_default = axis2_array_list_create(env, 0);
         if(!interface_impl->f_style_default)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -803,7 +803,7 @@
 void *AXIS2_CALL
 axis2_woden_interface_get_style_default(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -819,14 +819,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_extended_qname(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *qname)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, qname, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -836,7 +836,7 @@
         interface_impl->f_extends_qnames = axis2_array_list_create(env, 0);
         if(!interface_impl->f_extends_qnames)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -848,7 +848,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_extends_qnames(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -864,14 +864,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_interface_fault_element(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *fault)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, fault, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -881,7 +881,7 @@
         interface_impl->f_interface_fault_elements = axis2_array_list_create(env, 0);
         if(!interface_impl->f_interface_fault_elements)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -893,7 +893,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_fault_elements(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -909,14 +909,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_interface_op_element(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *op)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, op, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, op, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -926,7 +926,7 @@
         interface_impl->f_interface_op_elements = axis2_array_list_create(env, 0);
         if(!interface_impl->f_interface_op_elements)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }
@@ -938,7 +938,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_interface_get_interface_op_elements(
         void *interface,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -954,14 +954,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_add_extended_interface(
         void *interface,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *extended_interface)
 {
     axis2_woden_interface_impl_t *interface_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, interface, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, interface, AXIS2_FAILURE);
     super = AXIS2_WODEN_INTERFACE_SUPER_OBJS(interface, env);
     interface_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
@@ -971,7 +971,7 @@
         interface_impl->f_extended_interfaces = axis2_array_list_create(env, 0);
         if(!interface_impl->f_extended_interfaces)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org