You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/05/31 17:54:39 UTC

svn commit: r410566 [46/49] - in /webservices/axis2/trunk/c: axiom/include/ axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/ axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/ axiom/test/unit/om/ include/ modules/...

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/types.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/types.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/types.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/types.c Wed May 31 08:54:07 2006
@@ -44,116 +44,116 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_free(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_types_super_objs(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_types_type(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_types_get_base_impl(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_set_type_system(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *type_system);
 
 axis2_char_t *AXIS2_CALL 
 axis2_woden_types_get_type_system(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_add_schema(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_xml_schema_t *schema);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_remove_schema(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_xml_schema_t *schema);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_schemas(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_types_get_schemas_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_inlined_schemas(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_imported_schemas(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 void *AXIS2_CALL 
 axis2_woden_types_get_element_declaration(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 void *AXIS2_CALL 
 axis2_woden_types_get_type_definition(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_referenceable_schema_defs(
         void *types,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_array_list_t * 
 axis2_woden_types_get_referenceable_schema_defs_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *namespc);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_namespace_uri(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc_uri);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_qname(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *namespc);
 
 static axis2_woden_types_t *
-create(axis2_env_t **env);
+create(const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_types_element(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
    
@@ -166,7 +166,7 @@
         types_impl = (axis2_woden_types_impl_t *) types;
 
     types_impl->types.base.types_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_types_element_ops_t));
     axis2_woden_types_element_resolve_methods(&(types_impl->types.base.
             types_element), env, types_impl->methods);
@@ -176,7 +176,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_types_element_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -185,7 +185,7 @@
 
     if(types_impl->types.base.types_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 types_element.ops);
         types_impl->types.base.types_element.ops = NULL;
     }
@@ -195,7 +195,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_documentable_element(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
    
@@ -208,7 +208,7 @@
         types_impl = (axis2_woden_types_impl_t *) types;
 
     types_impl->types.base.types_element.documentable_element.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_element_ops_t));
     axis2_woden_documentable_element_resolve_methods(&(types_impl->types.base.
             types_element.documentable_element), env, 
@@ -219,7 +219,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_documentable_element_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -228,7 +228,7 @@
 
     if(types_impl->types.base.types_element.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 types_element.documentable_element.ops);
         types_impl->types.base.types_element.documentable_element.ops = 
             NULL;
@@ -239,7 +239,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_documentable(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
    
@@ -252,7 +252,7 @@
         types_impl = (axis2_woden_types_impl_t *) types;
 
     types_impl->types.base.documentable.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_documentable_ops_t));
     axis2_woden_documentable_resolve_methods(&(types_impl->types.base.
             documentable), env, types_impl->documentable, 
@@ -263,7 +263,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_documentable_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -272,7 +272,7 @@
 
     if(types_impl->types.base.documentable.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.ops);
         types_impl->types.base.documentable.ops = NULL;
     }
@@ -282,7 +282,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_wsdl_obj(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     void *wsdl_obj = NULL;
@@ -296,7 +296,7 @@
         types_impl = (axis2_woden_types_impl_t *) types;
 
     types_impl->types.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(types_impl->documentable,
             env);
@@ -308,7 +308,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_wsdl_obj_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -317,7 +317,7 @@
 
     if(types_impl->types.base.documentable.base.wsdl_obj.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.base.wsdl_obj.ops);
         types_impl->types.base.documentable.base.wsdl_obj.ops = NULL;
     }
@@ -327,7 +327,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_wsdl_component(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -340,7 +340,7 @@
     else
         types_impl = (axis2_woden_types_impl_t *) types;
     types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_component.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
         sizeof(axis2_woden_wsdl_component_ops_t));
     axis2_woden_wsdl_component_resolve_methods(&(types_impl->types.base.
             documentable.base.wsdl_obj.base.wsdl_component), env, 
@@ -351,7 +351,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_wsdl_component_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -360,7 +360,7 @@
 
     if(types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.base.wsdl_obj.base.wsdl_component.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_component.
             ops = NULL;
@@ -371,7 +371,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_attr_extensible(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -386,7 +386,7 @@
 
     types_impl->types.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(&(types_impl->types.base.
             documentable.base.wsdl_obj.base.wsdl_element.base.attr_extensible),
@@ -398,7 +398,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_attr_extensible_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -408,7 +408,7 @@
     if(types_impl->types.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.attr_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.documentable.
+        AXIS2_FREE(env->allocator, types_impl->types.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.attr_extensible.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.attr_extensible.ops = NULL;
@@ -419,7 +419,7 @@
 AXIS2_DECLARE(axis2_woden_types_t *)
 axis2_woden_types_to_element_extensible(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -432,7 +432,7 @@
     else
         types_impl = (axis2_woden_types_impl_t *) types;
         types_impl->types.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(&(types_impl->types.base.
                 documentable.base.wsdl_obj.base.wsdl_element.base.element_extensible),
@@ -444,7 +444,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_to_element_extensible_free(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -454,7 +454,7 @@
     if(types_impl->types.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.documentable.
+        AXIS2_FREE(env->allocator, types_impl->types.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.element_extensible.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.element_extensible.ops = NULL;
@@ -464,12 +464,12 @@
 
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_types_t *
-create(axis2_env_t **env)
+create(const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    types_impl = AXIS2_MALLOC((*env)->allocator, 
+    types_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_types_impl_t));
 
     types_impl->obj_type= AXIS2_WODEN_TYPES;
@@ -490,7 +490,7 @@
     types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_element.
             base.element_extensible.ops = NULL;
     
-    types_impl->types.ops = AXIS2_MALLOC((*env)->allocator, 
+    types_impl->types.ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_types_ops_t));
 
     types_impl->f_schemas = axis2_array_list_create(env, 0);
@@ -515,7 +515,7 @@
     types_impl->methods = axis2_hash_make(env);
     if(!types_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(types_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
@@ -597,7 +597,7 @@
 }
 
 AXIS2_DECLARE(axis2_woden_types_t *)
-axis2_woden_types_create(axis2_env_t **env)
+axis2_woden_types_create(const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
    
@@ -609,7 +609,7 @@
     types_impl->super = axis2_hash_make(env);
     if(!types_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(types_impl->super, "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING, 
@@ -622,7 +622,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_types_free(void *types,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -643,7 +643,7 @@
 
     if(types_impl->f_type_system)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->f_type_system);
+        AXIS2_FREE(env->allocator, types_impl->f_type_system);
         types_impl->f_type_system = NULL;
     }
     
@@ -667,14 +667,14 @@
 
     if(types_impl->types.base.types_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 types_element.ops);
         types_impl->types.base.types_element.ops = NULL;
     }
 
     if(types_impl->types.base.types_element.documentable_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 types_element.documentable_element.ops);
         types_impl->types.base.types_element.documentable_element.ops = 
             NULL;
@@ -682,7 +682,7 @@
     
     if(types_impl->types.base.documentable.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.ops);
         types_impl->types.base.documentable.ops = 
             NULL;
@@ -690,7 +690,7 @@
     
     if(types_impl->types.base.documentable.base.wsdl_obj.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.base.wsdl_obj.ops);
         types_impl->types.base.documentable.base.wsdl_obj.ops = 
             NULL;
@@ -698,7 +698,7 @@
     
     if(types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_component.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.
+        AXIS2_FREE(env->allocator, types_impl->types.base.
                 documentable.base.wsdl_obj.base.wsdl_component.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_component.
             ops = NULL;
@@ -707,7 +707,7 @@
     if(types_impl->types.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.attr_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.documentable.
+        AXIS2_FREE(env->allocator, types_impl->types.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.attr_extensible.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.attr_extensible.ops = NULL;
@@ -716,20 +716,20 @@
     if(types_impl->types.base.documentable.base.wsdl_obj.base.
             wsdl_element.base.element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->types.base.documentable.
+        AXIS2_FREE(env->allocator, types_impl->types.base.documentable.
                 base.wsdl_obj.base.wsdl_element.base.element_extensible.ops);
         types_impl->types.base.documentable.base.wsdl_obj.base.wsdl_element.
                 base.element_extensible.ops = NULL;
     }
     if((&(types_impl->types))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(types_impl->types))->ops);
+        AXIS2_FREE(env->allocator, (&(types_impl->types))->ops);
         (&(types_impl->types))->ops = NULL;
     }
     
     if(types_impl)
     {
-        AXIS2_FREE((*env)->allocator, types_impl);
+        AXIS2_FREE(env->allocator, types_impl);
         types_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -738,7 +738,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_types_super_objs(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -751,7 +751,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_types_type(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -764,7 +764,7 @@
 axis2_woden_documentable_t *AXIS2_CALL
 axis2_woden_types_get_base_impl(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
 
@@ -777,14 +777,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_resolve_methods(
         axis2_woden_types_t *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_types_t *types_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_types_impl_t *types_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);
     types_impl_l = INTF_TO_IMPL(types_impl);
     
     types->ops->free = axis2_hash_get(methods, "free", 
@@ -839,26 +839,26 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_set_type_system(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *type_system)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, type_system, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, type_system, AXIS2_FAILURE);
     super = AXIS2_WODEN_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
 
     if(types_impl->f_type_system)
     {
-        AXIS2_FREE((*env)->allocator, types_impl->f_type_system);
+        AXIS2_FREE(env->allocator, types_impl->f_type_system);
     }
     types_impl->f_type_system = AXIS2_STRDUP(type_system, env);
     if(!types_impl->f_type_system)
     {
-        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;
     }
     return AXIS2_SUCCESS;
@@ -867,7 +867,7 @@
 axis2_char_t *AXIS2_CALL 
 axis2_woden_types_get_type_system(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -882,14 +882,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_add_schema(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_xml_schema_t *schema)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, schema, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, schema, AXIS2_FAILURE);
     super = AXIS2_WODEN_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
@@ -900,7 +900,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_types_remove_schema(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_xml_schema_t *schema)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -909,21 +909,21 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, schema, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, schema, AXIS2_FAILURE);
     super = AXIS2_WODEN_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
 
     index = AXIS2_ARRAY_LIST_INDEX_OF(types_impl->f_schemas, env, schema);
     AXIS2_ARRAY_LIST_REMOVE(types_impl->f_schemas, env, index);
-    code = AXIS2_ERROR_GET_STATUS_CODE((*env)->error);
+    code = AXIS2_ERROR_GET_STATUS_CODE(env->error);
     return code;
 }
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_schemas(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -938,7 +938,7 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_types_get_schemas_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -975,7 +975,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_inlined_schemas(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     int i = 0, size = 0;
@@ -1002,7 +1002,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_types_get_imported_schemas(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     int i = 0, size = 0;
@@ -1029,7 +1029,7 @@
 void *AXIS2_CALL 
 axis2_woden_types_get_element_declaration(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -1072,7 +1072,7 @@
 void *AXIS2_CALL 
 axis2_woden_types_get_type_definition(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -1116,7 +1116,7 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_types_get_referenceable_schema_defs(
         void *types,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
     int i = 0, size = 0;
@@ -1142,7 +1142,7 @@
     types_impl->schema_defs = axis2_array_list_create(env, 0);
     if(!types_impl->schema_defs)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     size = AXIS2_ARRAY_LIST_SIZE(types_impl->f_schemas, env);
@@ -1164,7 +1164,7 @@
 static axis2_array_list_t *AXIS2_CALL 
 axis2_woden_types_get_referenceable_schema_defs_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *namespc)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -1172,7 +1172,7 @@
     axis2_hash_t *super = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, NULL);
+    AXIS2_PARAM_CHECK(env->error, namespc, NULL);
     super = AXIS2_WODEN_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
@@ -1199,11 +1199,11 @@
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_namespace_uri(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc_uri)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
-    AXIS2_PARAM_CHECK((*env)->error, namespc_uri, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc_uri, AXIS2_FAILURE);
     axis2_char_t *str_uri = NULL;
     axis2_hash_t *super = NULL;
 
@@ -1219,7 +1219,7 @@
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_qname(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *qname)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -1228,7 +1228,7 @@
     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_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
@@ -1241,7 +1241,7 @@
 axis2_bool_t AXIS2_CALL 
 axis2_woden_types_is_namespace_in_scope_with_namespace(
         void *types,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_char_t *namespc)
 {
     axis2_woden_types_impl_t *types_impl = NULL;
@@ -1250,7 +1250,7 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
     super = AXIS2_WODEN_TYPES_SUPER_OBJS(types, env);
     types_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_TYPES", AXIS2_HASH_KEY_STRING));
@@ -1264,7 +1264,7 @@
                 types_impl->f_schemas, env, i);
         if(!s)
         {
-            AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_WSDL_SCHEMA_IS_NULL, 
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_WSDL_SCHEMA_IS_NULL, 
                     AXIS2_FAILURE);
             return AXIS2_FALSE;
         }

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_component.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_component.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_component.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_component.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_component_resolve_methods(
         axis2_woden_wsdl_component_t *wsdl_component,
-        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);
     
     wsdl_component->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_element.c Wed May 31 08:54:07 2006
@@ -44,115 +44,115 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_free(
         void *wsdl_element,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_wsdl_element_super_objs(
         void *wsdl_element,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_wsdl_element_type(
         void *wsdl_element,
-        axis2_env_t **envv);
+        const axis2_env_t *envv);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_set_ext_attr(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type,
         axis2_woden_xml_attr_t *attr); 
 
 void *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attr(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type); 
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attrs(
         void *wsdl_element,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attrs_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_wsdl_element_has_ext_attrs_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_add_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_ext_element_t *ext_el); 
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_remove_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_ext_element_t *ext_el); 
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements(
         void *wsdl_element,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements_of_type(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *elem_type);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_wsdl_element_has_ext_elements_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_add_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
 axis2_woden_ext_element_t *ext_el); 
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_remove_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_ext_element_t *ext_el);
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements(
         void *wsdl_element,
-        axis2_env_t **env); 
+        const axis2_env_t *env); 
 
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements_of_type(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *ext_type);
 
 axis2_bool_t AXIS2_CALL 
 axis2_woden_wsdl_element_has_ext_elements_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 static axis2_woden_wsdl_element_t *
 create(
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 /************************Woden C Internal Methods******************************/
 AXIS2_DECLARE(axis2_woden_wsdl_element_t *)
 axis2_woden_wsdl_element_to_attr_extensible(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -165,7 +165,7 @@
     else
         wsdl_element_impl = (axis2_woden_wsdl_element_impl_t *) wsdl_element;
     wsdl_element_impl->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(&(wsdl_element_impl->
             wsdl_element.base.attr_extensible), env, NULL, wsdl_element_impl->methods);
@@ -176,7 +176,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_element_to_attr_extensible_free(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -185,7 +185,7 @@
 
     if(wsdl_element_impl->wsdl_element.base.attr_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl->wsdl_element.base.
+        AXIS2_FREE(env->allocator, wsdl_element_impl->wsdl_element.base.
                 attr_extensible.ops);
         wsdl_element_impl->wsdl_element.base.attr_extensible.ops = NULL;
     }
@@ -195,7 +195,7 @@
 AXIS2_DECLARE(axis2_woden_wsdl_element_t *)
 axis2_woden_wsdl_element_to_element_extensible(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -208,7 +208,7 @@
     else
         wsdl_element_impl = (axis2_woden_wsdl_element_impl_t *) wsdl_element;
     wsdl_element_impl->wsdl_element.base.element_extensible.ops = 
-            AXIS2_MALLOC((*env)->allocator, 
+            AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_element_extensible_ops_t));
     axis2_woden_element_extensible_resolve_methods(&(wsdl_element_impl->
             wsdl_element.base.element_extensible), env, NULL, wsdl_element_impl->methods);
@@ -219,7 +219,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_element_to_element_extensible_free(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -228,7 +228,7 @@
 
     if(wsdl_element_impl->wsdl_element.base.element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl->wsdl_element.base.
+        AXIS2_FREE(env->allocator, wsdl_element_impl->wsdl_element.base.
                 element_extensible.ops);
         wsdl_element_impl->wsdl_element.base.element_extensible.ops = NULL;
     }
@@ -239,12 +239,12 @@
 /************************End of Woden C Internal Methods***********************/
 static axis2_woden_wsdl_element_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    wsdl_element_impl = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_element_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_wsdl_element_impl_t));
 
     wsdl_element_impl->super = NULL;
@@ -256,7 +256,7 @@
     wsdl_element_impl->wsdl_element.base.attr_extensible.ops = NULL;
     wsdl_element_impl->wsdl_element.base.element_extensible.ops = NULL;
     wsdl_element_impl->wsdl_element.ops = 
-            AXIS2_MALLOC((*env)->allocator, 
+            AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_wsdl_element_ops_t)); 
    
     wsdl_element_impl->wsdl_element.ops->free = axis2_woden_wsdl_element_free;
@@ -267,7 +267,7 @@
     wsdl_element_impl->methods = axis2_hash_make(env);
     if(!wsdl_element_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(wsdl_element_impl->methods, "free", 
@@ -312,7 +312,7 @@
 
 AXIS2_DECLARE(axis2_woden_wsdl_element_t *)
 axis2_woden_wsdl_element_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     
@@ -333,7 +333,7 @@
     wsdl_element_impl->super = axis2_hash_make(env);
     if(!wsdl_element_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(wsdl_element_impl->super, "AXIS2_WODEN_WSDL_ELEMENT", 
@@ -345,7 +345,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_element_free(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -378,27 +378,27 @@
 
     if(wsdl_element_impl->wsdl_element.base.attr_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl->wsdl_element.base.
+        AXIS2_FREE(env->allocator, wsdl_element_impl->wsdl_element.base.
                 attr_extensible.ops);
         wsdl_element_impl->wsdl_element.base.attr_extensible.ops = NULL;
     }
 
     if(wsdl_element_impl->wsdl_element.base.element_extensible.ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl->wsdl_element.base.
+        AXIS2_FREE(env->allocator, wsdl_element_impl->wsdl_element.base.
                 element_extensible.ops);
         wsdl_element_impl->wsdl_element.base.element_extensible.ops = NULL;
     }
 
     if(wsdl_element_impl->wsdl_element.ops)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl->wsdl_element.ops);
+        AXIS2_FREE(env->allocator, wsdl_element_impl->wsdl_element.ops);
         wsdl_element_impl->wsdl_element.ops = NULL;
     }
 
     if(wsdl_element_impl)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_element_impl);
+        AXIS2_FREE(env->allocator, wsdl_element_impl);
         wsdl_element_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -407,7 +407,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_wsdl_element_super_objs(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -420,7 +420,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_wsdl_element_type(
         void *wsdl_element,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
 
@@ -433,17 +433,17 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_element_resolve_methods(
         axis2_woden_wsdl_element_t *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_element_t *wsdl_element_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_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);
     wsdl_element_impl_l = INTF_TO_IMPL(wsdl_element);
     
-    wsdl_element->ops = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_element->ops = AXIS2_MALLOC(env->allocator, 
             sizeof(axis2_woden_wsdl_element_ops_t));
     wsdl_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);
@@ -460,7 +460,7 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_set_ext_attr(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type,
         axis2_woden_xml_attr_t *attr)
 {
@@ -468,8 +468,8 @@
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, attr_type, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, attr, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, attr_type, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, attr, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -481,14 +481,14 @@
 void *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attr(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_qname_t *attr_type) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, attr_type, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, attr_type, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -500,7 +500,7 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attrs(
         void *wsdl_element,
-        axis2_env_t **env) 
+        const axis2_env_t *env) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -517,14 +517,14 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_attrs_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -536,14 +536,14 @@
 axis2_bool_t AXIS2_CALL 
 axis2_woden_wsdl_element_has_ext_attrs_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -555,14 +555,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_add_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
 axis2_woden_ext_element_t *ext_el) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, ext_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, ext_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -574,14 +574,14 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_element_remove_ext_element(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
 axis2_woden_ext_element_t *ext_el) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, ext_el, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, ext_el, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 
@@ -593,7 +593,7 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements(
         void *wsdl_element,
-axis2_env_t **env) 
+const axis2_env_t *env) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -610,13 +610,13 @@
 axis2_array_list_t *AXIS2_CALL 
 axis2_woden_wsdl_element_get_ext_elements_of_type(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
 axis2_qname_t *ext_type) 
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, ext_type, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, ext_type, AXIS2_FAILURE);
     axis2_hash_t *super = NULL;
 
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
@@ -630,14 +630,14 @@
 axis2_bool_t AXIS2_CALL 
 axis2_woden_wsdl_element_has_ext_elements_for_namespace(
         void *wsdl_element,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc)
 {
     axis2_woden_wsdl_element_impl_t *wsdl_element_impl = NULL;
     axis2_hash_t *super = NULL;
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK((*env)->error, namespc, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, namespc, AXIS2_FAILURE);
     super = AXIS2_WODEN_WSDL_ELEMENT_SUPER_OBJS(wsdl_element, env);
     wsdl_element_impl = INTF_TO_IMPL(axis2_hash_get(super, 
                 "AXIS2_WODEN_WSDL_ELEMENT", AXIS2_HASH_KEY_STRING)); 

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_obj.c Wed May 31 08:54:07 2006
@@ -37,50 +37,50 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_obj_free(
         void *wsdl_obj,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_wsdl_obj_super_objs(
         void *wsdl_obj,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_wsdl_obj_get_base_impl(
         void *wsdl_obj,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_woden_component_exts_t *AXIS2_CALL
 axis2_woden_wsdl_obj_get_component_exts_for_namespace(
         void *wsdl_obj,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_obj_set_component_exts(
         void *wsdl_obj,
-       axis2_env_t **env,
+       const axis2_env_t *env,
        axis2_url_t *namespc,
        axis2_woden_component_exts_t *exts);
 
 static axis2_woden_wsdl_obj_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    wsdl_obj_impl = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_obj_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_wsdl_obj_impl_t));
 
     wsdl_obj_impl->wsdl_element = NULL;
     wsdl_obj_impl->f_comp_exts = NULL;
    
-    wsdl_obj_impl->wsdl_obj.ops = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_obj_impl->wsdl_obj.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_wsdl_obj_ops_t));
     wsdl_obj_impl->f_comp_exts = axis2_hash_make(env);
     if(!wsdl_obj_impl->f_comp_exts)
     {
-        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
     wsdl_obj_impl->wsdl_obj.ops->free = axis2_woden_wsdl_obj_free;
@@ -96,7 +96,7 @@
 
 AXIS2_DECLARE(axis2_woden_wsdl_obj_t *)
 axis2_woden_wsdl_obj_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
    
@@ -108,7 +108,7 @@
     wsdl_obj_impl->super = axis2_hash_make(env);
     if(!wsdl_obj_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(wsdl_obj_impl->super, "AXIS2_WODEN_WSDL_OBJ", AXIS2_HASH_KEY_STRING, 
@@ -121,7 +121,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_obj_free(
         void *wsdl_obj,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
 
@@ -142,13 +142,13 @@
     
     if((&(wsdl_obj_impl->wsdl_obj))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(wsdl_obj_impl->wsdl_obj))->ops);
+        AXIS2_FREE(env->allocator, (&(wsdl_obj_impl->wsdl_obj))->ops);
         (&(wsdl_obj_impl->wsdl_obj))->ops = NULL;
     }
 
     if(wsdl_obj_impl)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_obj_impl);
+        AXIS2_FREE(env->allocator, wsdl_obj_impl);
         wsdl_obj_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -157,7 +157,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_wsdl_obj_super(
         void *wsdl_obj,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
 
@@ -170,7 +170,7 @@
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_wsdl_obj_get_base_impl(
         void *wsdl_obj,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
 
@@ -183,14 +183,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_obj_resolve_methods(
         axis2_woden_wsdl_obj_t *wsdl_obj,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_obj_t *wsdl_obj_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_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);
     wsdl_obj_impl_l = INTF_TO_IMPL(wsdl_obj_impl);
     
     wsdl_obj->ops->free = axis2_hash_get(methods, "free", 
@@ -218,7 +218,7 @@
 axis2_woden_component_exts_t *AXIS2_CALL
 axis2_woden_wsdl_obj_get_component_exts_for_namespace(
         void *wsdl_obj,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc)
 {
     axis2_woden_wsdl_obj_impl_t *wsdl_obj_impl = NULL;
@@ -238,7 +238,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_obj_set_component_exts(
         void *wsdl_obj,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *namespc,
         axis2_woden_component_exts_t *exts)
 {

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_ref.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_ref.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_ref.c Wed May 31 08:54:07 2006
@@ -40,59 +40,59 @@
 axis2_status_t AXIS2_CALL 
 axis2_woden_wsdl_ref_free(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_hash_t *AXIS2_CALL 
 axis2_woden_wsdl_ref_super_objs(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_base_impl(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_url_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_location(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_set_location(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *loc_uri);
 
 void *AXIS2_CALL
 axis2_woden_wsdl_ref_get_desc_element(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_set_desc_element(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *desc);
 
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_add_documentation_element(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *doc_el);
 
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_documentation_elements(
         void *wsdl_ref,
-        axis2_env_t **env);
+        const axis2_env_t *env);
 
 static axis2_woden_wsdl_ref_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
    
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    wsdl_ref_impl = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_ref_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_wsdl_ref_impl_t));
 
     wsdl_ref_impl->wsdl_element = NULL;
@@ -100,7 +100,7 @@
     wsdl_ref_impl->f_location = NULL;
     wsdl_ref_impl->f_desc_element = NULL;
    
-    wsdl_ref_impl->wsdl_ref.ops = AXIS2_MALLOC((*env)->allocator, 
+    wsdl_ref_impl->wsdl_ref.ops = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_wsdl_ref_ops_t));
     
     wsdl_ref_impl->wsdl_ref.ops->free = axis2_woden_wsdl_ref_free;
@@ -124,7 +124,7 @@
 
 AXIS2_DECLARE(axis2_woden_wsdl_ref_t *)
 axis2_woden_wsdl_ref_create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
    
@@ -136,7 +136,7 @@
     wsdl_ref_impl->super = axis2_hash_make(env);
     if(!wsdl_ref_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(wsdl_ref_impl->super, "AXIS2_WODEN_WSDL_REF", AXIS2_HASH_KEY_STRING, 
@@ -149,7 +149,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_free(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
 
@@ -170,13 +170,13 @@
     
     if((&(wsdl_ref_impl->wsdl_ref))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(wsdl_ref_impl->wsdl_ref))->ops);
+        AXIS2_FREE(env->allocator, (&(wsdl_ref_impl->wsdl_ref))->ops);
         (&(wsdl_ref_impl->wsdl_ref))->ops = NULL;
     }
 
     if(wsdl_ref_impl)
     {
-        AXIS2_FREE((*env)->allocator, wsdl_ref_impl);
+        AXIS2_FREE(env->allocator, wsdl_ref_impl);
         wsdl_ref_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -185,7 +185,7 @@
 axis2_hash_t *AXIS2_CALL
 axis2_woden_wsdl_ref_super(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
 
@@ -198,7 +198,7 @@
 axis2_woden_wsdl_element_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_base_impl(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
 
@@ -211,14 +211,14 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_resolve_methods(
         axis2_woden_wsdl_ref_t *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_woden_wsdl_ref_t *wsdl_ref_impl,
         axis2_hash_t *methods)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_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);
     wsdl_ref_impl_l = INTF_TO_IMPL(wsdl_ref_impl);
     
     wsdl_ref->ops->free = axis2_hash_get(methods, "free", 
@@ -272,7 +272,7 @@
 axis2_url_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_location(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -288,7 +288,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_set_location(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_url_t *loc_uri)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
@@ -310,7 +310,7 @@
 void *AXIS2_CALL
 axis2_woden_wsdl_ref_get_desc_element(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
     axis2_hash_t *super = NULL;
@@ -326,7 +326,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_set_desc_element(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *desc)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
@@ -348,7 +348,7 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_wsdl_ref_add_documentation_element(
         void *wsdl_ref,
-        axis2_env_t **env,
+        const axis2_env_t *env,
         void *doc_el)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
@@ -364,7 +364,7 @@
         wsdl_ref_impl->f_documentation_elements = axis2_array_list_create(env, 0);
         if(!wsdl_ref_impl->f_documentation_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;
         }
     }
@@ -375,7 +375,7 @@
 axis2_array_list_t *AXIS2_CALL
 axis2_woden_wsdl_ref_get_documentation_elements(
         void *wsdl_ref,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_wsdl_ref_impl_t *wsdl_ref_impl = NULL;
     axis2_hash_t *super = NULL;

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_binding_element_resolve_methods(
         axis2_woden_binding_element_t *binding_element,
-        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);
     
     binding_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_binding_fault_element_resolve_methods(
         axis2_woden_binding_fault_element_t *binding_fault_element,
-        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);
     
     binding_fault_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_ref_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_fault_ref_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_binding_fault_ref_element_resolve_methods(
         axis2_woden_binding_fault_ref_element_t *binding_fault_ref_element,
-        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);
     
     binding_fault_ref_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_msg_ref_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_msg_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_msg_ref_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_binding_msg_ref_element_resolve_methods(
         axis2_woden_binding_msg_ref_element_t *binding_msg_ref_element,
-        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);
     
     binding_msg_ref_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_op_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_op_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_op_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/binding_op_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_binding_op_element_resolve_methods(
         axis2_woden_binding_op_element_t *binding_op_element,
-        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);
     
     binding_op_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/configurable_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/configurable_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/configurable_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/configurable_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_configurable_element_resolve_methods(
         axis2_woden_configurable_element_t *configurable_element,
-        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);
     
     configurable_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/desc_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/desc_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/desc_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/desc_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_desc_element_resolve_methods(
         axis2_woden_desc_element_t *desc_element,
-        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);
     
     desc_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentable_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentable_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentable_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentable_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentable_element_resolve_methods(
         axis2_woden_documentable_element_t *documentable_element,
-        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);
     
     documentable_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentation_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentation_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentation_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/documentation_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_documentation_element_resolve_methods(
         axis2_woden_documentation_element_t *documentation_element,
-        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);
     
     documentation_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/endpoint_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/endpoint_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/endpoint_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/endpoint_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_endpoint_element_resolve_methods(
         axis2_woden_endpoint_element_t *endpoint_element,
-        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);
     
     endpoint_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/fault_ref_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/fault_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/fault_ref_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_element_resolve_methods(
         axis2_woden_interface_fault_ref_element_t *interface_fault_ref_element,
-        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);
     
     interface_fault_ref_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/feature_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/feature_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/feature_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/feature_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_feature_element_resolve_methods(
         axis2_woden_feature_element_t *feature_element,
-        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);
     
     feature_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/import_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/import_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/import_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/import_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_import_element_resolve_methods(
         axis2_woden_import_element_t *import_element,
-        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);
     
     import_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/include_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/include_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/include_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/include_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_include_element_resolve_methods(
         axis2_woden_include_element_t *include_element,
-        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);
     
     include_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_element_resolve_methods(
         axis2_woden_interface_element_t *interface_element,
-        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);
     
     interface_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_element_resolve_methods(
         axis2_woden_interface_fault_element_t *interface_fault_element,
-        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);
     
     interface_fault_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_ref_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_fault_ref_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_fault_ref_element_resolve_methods(
         axis2_woden_interface_fault_ref_element_t *interface_fault_ref_element,
-        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);
     
     interface_fault_ref_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_msg_ref_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_msg_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_msg_ref_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_msg_ref_element_resolve_methods(
         axis2_woden_interface_msg_ref_element_t *interface_msg_ref_element,
-        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);
     
     interface_msg_ref_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_op_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_op_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_op_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_op_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_interface_op_element_resolve_methods(
         axis2_woden_interface_op_element_t *interface_op_element,
-        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);
     
     interface_op_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/nested_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/nested_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/nested_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/nested_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_nested_element_resolve_methods(
         axis2_woden_nested_element_t *nested_element,
-        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);
     
     nested_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/property_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/property_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/property_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/property_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_property_element_resolve_methods(
         axis2_woden_property_element_t *property_element,
-        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);
     
     property_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/svc_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/svc_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/svc_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/svc_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_svc_element_resolve_methods(
         axis2_woden_svc_element_t *svc_element,
-        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);
     
     svc_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/xml/types_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/xml/types_element.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/xml/types_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/xml/types_element.c Wed May 31 08:54:07 2006
@@ -19,11 +19,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_types_element_resolve_methods(
         axis2_woden_types_element_t *types_element,
-        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);
     
     types_element->ops->free = axis2_hash_get(methods, "free", 
             AXIS2_HASH_KEY_STRING);

Modified: webservices/axis2/trunk/c/woden/src/xml/bool_attr.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/xml/bool_attr.c?rev=410566&r1=410565&r2=410566&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/xml/bool_attr.c (original)
+++ webservices/axis2/trunk/c/woden/src/xml/bool_attr.c Wed May 31 08:54:07 2006
@@ -37,42 +37,42 @@
 
 axis2_status_t AXIS2_CALL 
 axis2_woden_bool_attr_free(void *bool_attr,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
 axis2_woden_obj_types_t AXIS2_CALL 
 axis2_woden_bool_attr_type(void *bool_attr,
-                        axis2_env_t **env);
+                        const axis2_env_t *env);
 
 axis2_woden_xml_attr_t *AXIS2_CALL
 axis2_woden_bool_attr_get_base_impl(void *bool_attr,
-                                axis2_env_t **env);
+                                const axis2_env_t *env);
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_bool_attr_get_boolean(void *bool_attr,
-                                    axis2_env_t **env);
+                                    const axis2_env_t *env);
 
 void *AXIS2_CALL
 axis2_woden_bool_attr_convert(void *bool_attr,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_om_element_t *owner_el,
                                 axis2_om_node_t *owner_node,
                                 axis2_char_t *attr_value);
 
 static axis2_woden_bool_attr_t *
 create(
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_bool_attr_impl_t *bool_attr_impl = NULL;
      
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    bool_attr_impl = AXIS2_MALLOC((*env)->allocator, 
+    bool_attr_impl = AXIS2_MALLOC(env->allocator, 
                     sizeof(axis2_woden_bool_attr_impl_t));
 
     bool_attr_impl->obj_type = AXIS2_WODEN_BOOL_ATTR;
     bool_attr_impl->xml_attr = NULL;
     bool_attr_impl->methods = NULL;
     bool_attr_impl->bool_attr.ops = 
-        AXIS2_MALLOC((*env)->allocator, 
+        AXIS2_MALLOC(env->allocator, 
                 sizeof(axis2_woden_bool_attr_ops_t));
 
     bool_attr_impl->bool_attr.ops->free = 
@@ -90,7 +90,7 @@
     bool_attr_impl->methods = axis2_hash_make(env);
     if(!bool_attr_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(bool_attr_impl->methods, "free", 
@@ -110,7 +110,7 @@
  */
 AXIS2_DECLARE(axis2_woden_bool_attr_t *)
 axis2_woden_bool_attr_create(
-        axis2_env_t **env,
+        const axis2_env_t *env,
         axis2_om_element_t *owner_el,
         axis2_om_node_t *owner_node,
         axis2_qname_t *attr_type,
@@ -129,7 +129,7 @@
 axis2_woden_obj_types_t AXIS2_CALL
 axis2_woden_bool_attr_type(
         void *bool_attr,
-        axis2_env_t **env)
+        const axis2_env_t *env)
 {
     axis2_woden_bool_attr_impl_t *bool_attr_impl = NULL;
 
@@ -141,7 +141,7 @@
 
 axis2_status_t AXIS2_CALL
 axis2_woden_bool_attr_free(void *bool_attr,
-                        axis2_env_t **env)
+                        const axis2_env_t *env)
 {
     axis2_woden_bool_attr_impl_t *bool_attr_impl = NULL;
 
@@ -162,13 +162,13 @@
     
     if((&(bool_attr_impl->bool_attr))->ops)
     {
-        AXIS2_FREE((*env)->allocator, (&(bool_attr_impl->bool_attr))->ops);
+        AXIS2_FREE(env->allocator, (&(bool_attr_impl->bool_attr))->ops);
         (&(bool_attr_impl->bool_attr))->ops = NULL;
     }
 
     if(bool_attr_impl)
     {
-        AXIS2_FREE((*env)->allocator, bool_attr_impl);
+        AXIS2_FREE(env->allocator, bool_attr_impl);
         bool_attr_impl = NULL;
     }
     return AXIS2_SUCCESS;
@@ -176,7 +176,7 @@
 
 axis2_woden_xml_attr_t *AXIS2_CALL
 axis2_woden_bool_attr_get_base_impl(void *bool_attr,
-                                axis2_env_t **env)
+                                const axis2_env_t *env)
 {
     axis2_woden_bool_attr_impl_t *bool_attr_impl = NULL;
 
@@ -189,11 +189,11 @@
 axis2_status_t AXIS2_CALL
 axis2_woden_bool_attr_resolve_methods(
                     axis2_woden_bool_attr_t *bool_attr,
-                    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);
     
     bool_attr->ops->free = 
                 axis2_hash_get(methods, "free", AXIS2_HASH_KEY_STRING);
@@ -211,7 +211,7 @@
 
 axis2_bool_t AXIS2_CALL
 axis2_woden_bool_attr_get_boolean(void *bool_attr,
-                                    axis2_env_t **env)
+                                    const axis2_env_t *env)
 {
     axis2_woden_bool_attr_impl_t *bool_attr_impl = NULL;
     
@@ -225,7 +225,7 @@
 
 void *AXIS2_CALL
 axis2_woden_bool_attr_convert(void *bool_attr,
-                                axis2_env_t **env,
+                                const axis2_env_t *env,
                                 axis2_om_element_t *owner_el,
                                 axis2_om_node_t *owner_node,
                                 axis2_char_t *attr_value)



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