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 na...@apache.org on 2006/03/17 04:33:05 UTC

svn commit: r386519 [1/2] - in /webservices/axis2/trunk/c: include/ modules/core/clientapi/ modules/core/transport/http/ modules/util/ modules/xml/soap/ samples/server/echo/ samples/server/math/

Author: nandika
Date: Thu Mar 16 19:33:01 2006
New Revision: 386519

URL: http://svn.apache.org/viewcvs?rev=386519&view=rev
Log:
internal functions moved to internal headers and some warning also fixed 

Added:
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_body.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_envelope.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_code.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_detail.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_node.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_reason.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_role.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_sub_code.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_text.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_value.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header.h
    webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header_block.h
Modified:
    webservices/axis2/trunk/c/include/axis2_soap_body.h
    webservices/axis2/trunk/c/include/axis2_soap_envelope.h
    webservices/axis2/trunk/c/include/axis2_soap_fault.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_code.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_node.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_role.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_text.h
    webservices/axis2/trunk/c/include/axis2_soap_fault_value.h
    webservices/axis2/trunk/c/include/axis2_soap_header.h
    webservices/axis2/trunk/c/include/axis2_soap_header_block.h
    webservices/axis2/trunk/c/modules/core/clientapi/stub.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
    webservices/axis2/trunk/c/modules/util/dir_handler.c
    webservices/axis2/trunk/c/modules/util/hash.c
    webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_detail.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_node.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_reason.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_role.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_sub_code.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_text.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_fault_value.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_header.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_header_block.c
    webservices/axis2/trunk/c/samples/server/echo/echo.c
    webservices/axis2/trunk/c/samples/server/math/math.c
    webservices/axis2/trunk/c/samples/server/math/math_skeleton.c

Modified: webservices/axis2/trunk/c/include/axis2_soap_body.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_body.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_body.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_body.h Thu Mar 16 19:33:01 2006
@@ -99,16 +99,6 @@
         axis2_om_node_t* (AXIS2_CALL *get_base_node)(axis2_soap_body_t *body,
                                                      axis2_env_t **env);
         /**
-         * associate an om node with this soap body
-         * This om node should contain a om element with localname as Body
-         * @param body soap_body
-         * @param env environment
-         * @param status code AXIS2_SUCCESS on success , AXIS2_FAILURE on error
-         */
-        axis2_status_t (AXIS2_CALL *set_base_node)(axis2_soap_body_t *body,
-                                                    axis2_env_t **env,
-                                                    axis2_om_node_t *om_node);
-        /**
          *  return the soap version 
          * @param body soap_body
          * @param env environment must not be null
@@ -117,32 +107,13 @@
         int (AXIS2_CALL *get_soap_version)(axis2_soap_body_t *body,
                                            axis2_env_t **env);
                                                       
-        /**
-         *  associate a soap_builder with this soap_body
-         * This function is only to be used by soap builder
-         * @param body soap_body
-         * @param env environment must not be null
-         * @param builder pointer to soap_builder
-         * @return return status code
-         */
-        axis2_status_t (AXIS2_CALL *set_builder)(axis2_soap_body_t *body,
-                                                 axis2_env_t **env,
-                                                 struct axis2_soap_builder *builder);
                                                      
         /**
          * build the soap body completely 
          */                                                 
         axis2_status_t (AXIS2_CALL *build)(axis2_soap_body_t *body, 
                                            axis2_env_t **env);                                                 
-        /**
-         * This function is should be used by the soap builder only,
-         * just set internal pointer in soap body struct to its fault
-         * Does not create the om tree . If om tree is needed, use add_fault 
-         * function 
-         */                                                 
-        axis2_status_t (AXIS2_CALL *set_fault)(axis2_soap_body_t *body,
-                                               axis2_env_t **env,
-                                               struct axis2_soap_fault *soap_fault);                                                 
+                                                       
 };                                                      
 
   /**
@@ -160,10 +131,7 @@
     * creates a soap body struct 
     * @param env Environment. MUST NOT be NULL
     */
-AXIS2_DECLARE(axis2_soap_body_t *)
-axis2_soap_body_create(axis2_env_t **env);    
-    
-    
+   
 AXIS2_DECLARE(axis2_soap_body_t *)
 axis2_soap_body_create_with_parent(axis2_env_t **env, 
                                    struct axis2_soap_envelope *envelope);
@@ -184,20 +152,12 @@
 #define AXIS2_SOAP_BODY_GET_BASE_NODE(body, env) \
         ((body)->ops->get_base_node(body, env))
                                    
-#define AXIS2_SOAP_BODY_SET_BASE_NODE(body, env, om_node) \
-        ((body)->ops->set_base_node(body, env, om_node))
-        
 #define AXIS2_SOAP_BODY_GET_SOAP_VERSION(body, env) \
         ((body)->ops->get_soap_version(body, env))
-        
-#define AXIS2_SOAP_BODY_SET_BUILDER(body, env, builder) \
-        ((body)->ops->set_builder(body, env, builder))               
 
 #define AXIS2_SOAP_BODY_BUILD(body, env) \
         ((body)->ops->build(body, env))
 
-#define AXIS2_SOAP_BODY_SET_FAULT(body, env, fault) \
-        ((body)->ops->set_fault(body, env, fault))
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_soap_envelope.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_envelope.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_envelope.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_envelope.h Thu Mar 16 19:33:01 2006
@@ -107,14 +107,6 @@
                                         (axis2_soap_envelope_t *envelope,
                                          axis2_env_t **env);
 
-        /** 
-         * This function is intended to be used by the soap builder
-         * associate an om_node with the soap_envelope
-         */
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                        (axis2_soap_envelope_t *envelope,
-                                         axis2_env_t **env,
-                                         axis2_om_node_t *base_node);                                        
            
         /** returns the soap version of this soap envelope
          * @param envelope soap_envelope
@@ -131,22 +123,7 @@
                                           (axis2_soap_envelope_t *envelope,
                                            axis2_env_t **env,
                                            int soap_version);
-        /**
-         * set soap body. This is just a pointer assignment intended to be used
-         * by soap builder . Does not adjust the om tree accordingly
-         */         
-        axis2_status_t (AXIS2_CALL *set_body)(axis2_soap_envelope_t *envelope,
-                                              axis2_env_t **env, 
-                                              struct axis2_soap_body *body);
-        /** 
-         * set soap header. This is just a pointer assignment intended to be used
-         * by soap builder . Does not adjust the om tree accordingly
-         * do not use outsize of soap
-         */         
-        axis2_status_t (AXIS2_CALL *set_header)(axis2_soap_envelope_t *envelope,
-                                                axis2_env_t **env, 
-                                                struct axis2_soap_header *header);
-
+     
         /** return the soap envelope namespace 
          * @param envelope 
          * @param env 
@@ -155,15 +132,7 @@
         axis2_om_namespace_t* (AXIS2_CALL *get_namespace)
                                                 (axis2_soap_envelope_t *envelope,
                                                  axis2_env_t **env);
-        /** 
-         * Associate a soap builder with this soap envelope
-         * This function is intended to be used by builder
-         * do not use outside of soap
-         */                                                
-
-        axis2_status_t (AXIS2_CALL *set_builder)(axis2_soap_envelope_t *envelope,
-                                                 axis2_env_t **env,
-                                                 struct axis2_soap_builder *builder);
+     
     };
 
 /**
@@ -184,11 +153,6 @@
 AXIS2_DECLARE(axis2_soap_envelope_t*)
 axis2_soap_envelope_create(axis2_env_t **env, axis2_om_namespace_t *ns);
 
-
-AXIS2_DECLARE(axis2_soap_envelope_t*)
-axis2_soap_envelope_create_null(axis2_env_t **env);
-
-
 AXIS2_DECLARE(axis2_soap_envelope_t *)
 axis2_soap_envelope_create_default_soap_envelope(axis2_env_t **env,
                                                  int soap_version);
@@ -218,26 +182,15 @@
 #define AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(envelope, env) \
         ((envelope)->ops->get_base_node(envelope, env))
 
-#define AXIS2_SOAP_ENVELOPE_SET_BASE_NODE(envelope, env, node) \
-        ((envelope)->ops->set_base_node(envelope, env, node))
-        
 #define AXIS2_SOAP_ENVELOPE_GET_SOAP_VERSION(envelope, env) \
         ((envelope)->ops->get_soap_version(envelope, env))
 
 #define AXIS2_SOAP_ENVELOPE_SET_SOAP_VERSION(envelope, env, soap_version) \
         ((envelope)->ops->set_soap_version(envelope, env, soap_version))
 
-#define AXIS2_SOAP_ENVELOPE_SET_BODY(envelope, env, body) \
-        ((envelope)->ops->set_body(envelope, env, body))
-        
-#define AXIS2_SOAP_ENVELOPE_SET_HEADER(envelope, env, header) \
-        ((envelope)->ops->set_header(envelope, env, header))
-        
 #define AXIS2_SOAP_ENVELOPE_GET_NAMESPACE(envelope, env) \
         ((envelope)->ops->get_namespace(envelope, env))
 
-#define AXIS2_SOAP_ENVELOPE_SET_BUILDER(envelope, env, builder) \
-        ((envelope)->ops->set_builder(envelope, env, builder))
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault.h Thu Mar 16 19:33:01 2006
@@ -75,44 +75,26 @@
          *  to code struct
          */
 
-        axis2_status_t (AXIS2_CALL *set_code)(axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              struct axis2_soap_fault_code *code);
                                               
         struct axis2_soap_fault_code * (AXIS2_CALL *get_code)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);
                                          
-        axis2_status_t (AXIS2_CALL *set_reason)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              struct axis2_soap_fault_reason *reason);
                                               
         struct axis2_soap_fault_reason *(AXIS2_CALL *get_reason)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);
                                              
-        axis2_status_t (AXIS2_CALL *set_node)(axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              struct axis2_soap_fault_node *node);
                                               
         struct axis2_soap_fault_node* (AXIS2_CALL *get_node)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);
                                              
-        axis2_status_t (AXIS2_CALL *set_role)(axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              struct axis2_soap_fault_role *role);
                                               
         struct axis2_soap_fault_role* (AXIS2_CALL *get_role)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_detail)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              struct axis2_soap_fault_detail *detail);
-                                        
         struct axis2_soap_fault_detail* (AXIS2_CALL *get_detail)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);  
@@ -126,23 +108,10 @@
                                               axis2_env_t **env,
                                               axis2_char_t *exception);                                                                                             
         
-       /**
-        * This is only intended to be used by the builder,
-        * do not use this function in other places
-        */
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                             (axis2_soap_fault_t *fault,
-                                              axis2_env_t **env,
-                                              axis2_om_node_t *node);
-                                              
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                                              (axis2_soap_fault_t *fault,
                                               axis2_env_t **env);  
                                                      
-        axis2_status_t (AXIS2_CALL *set_builder)(axis2_soap_fault_t *fault,
-                                            axis2_env_t **env,
-                                            struct axis2_soap_builder *builder);                                                                                                                                                                                                                                                                                                     
-                                         
     };
 
   /**
@@ -160,8 +129,7 @@
     * creates a soap struct 
     * @param env Environment. MUST NOT be NULL
     */
-AXIS2_DECLARE(axis2_soap_fault_t *)
-axis2_soap_fault_create(axis2_env_t **env);
+
     
 AXIS2_DECLARE(axis2_soap_fault_t *)
 axis2_soap_fault_create_with_parent(axis2_env_t **env,
@@ -186,24 +154,6 @@
 #define AXIS2_SOAP_FAULT_FREE(fault , env) \
         ((fault)->ops->free_fn(fault, env))
 
-#define AXIS2_SOAP_FAULT_SET_CODE(fault , env, code) \
-        ((fault)->ops->set_code(fault, env, code))
-
-#define AXIS2_SOAP_FAULT_SET_REASON(fault , env, reason) \
-        ((fault)->ops->set_reason(fault, env, reason))
-
-#define AXIS2_SOAP_FAULT_SET_DETAIL(fault , env, detail) \
-        ((fault)->ops->set_detail(fault, env, detail))
-
-#define AXIS2_SOAP_FAULT_SET_ROLE(fault , env, role) \
-        ((fault)->ops->set_role(fault, env, role))
-        
-#define AXIS2_SOAP_FAULT_SET_NODE(fault , env, node) \
-        ((fault)->ops->set_node(fault, env, node)) 
-        
-#define AXIS2_SOAP_FAULT_SET_BASE_NODE(fault, env, node) \
-        ((fault)->ops->set_base_node(fault, env, node))
-        
 #define AXIS2_SOAP_FAULT_GET_CODE(fault , env) \
         ((fault)->ops->get_code(fault, env))
 
@@ -229,9 +179,6 @@
 #define AXIS2_SOAP_FAULT_SET_EXCEPTION(fault, env, exception) \
         ((fault)->ops->set_exception(fault, env, exception)) 
         
-#define AXIS2_SOAP_FAULT_SET_BUILDER(fault, env, builder) \
-        ((fault)->ops->set_builder(fault, env, builder))               
-                                              
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_code.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_code.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_code.h Thu Mar 16 19:33:01 2006
@@ -71,26 +71,6 @@
                                     (axis2_soap_fault_code_t *fault_code,
                                      axis2_env_t **env);
                                  
-        axis2_status_t (AXIS2_CALL *set_value)
-                            (axis2_soap_fault_code_t *fault_code,
-                             axis2_env_t **env,
-                             struct axis2_soap_fault_value *fault_val);
-
-        axis2_status_t (AXIS2_CALL *set_sub_code)
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env,
-                                     struct axis2_soap_fault_sub_code *fault_subcode);                                                                         
-
-        axis2_status_t (AXIS2_CALL *set_builder)
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env,
-                                     struct axis2_soap_builder *builder);
-    
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                    (axis2_soap_fault_code_t *fault_code,
-                                     axis2_env_t **env,
-                                     axis2_om_node_t *node);
-
 };      
 
   /**
@@ -108,9 +88,6 @@
     * creates a soap struct 
     * @param env Environment. MUST NOT be NULL
     */
-
-AXIS2_DECLARE(axis2_soap_fault_code_t *)
-axis2_soap_fault_code_create(axis2_env_t **env);    
     
 AXIS2_DECLARE(axis2_soap_fault_code_t *)
 axis2_soap_fault_code_create_with_parent(axis2_env_t **env,
@@ -131,19 +108,6 @@
         
 #define AXIS2_SOAP_FAULT_CODE_GET_BASE_NODE(fault_code, env) \
         ((fault_code)->ops->get_base_node(fault_code, env))         
-
-/** internal functions */
-#define AXIS2_SOAP_FAULT_CODE_SET_SUB_CODE(fault_code , env, subcode) \
-        ((fault_code)->ops->set_sub_code(fault_code, env, subcode))
-
-#define AXIS2_SOAP_FAULT_CODE_SET_BASE_NODE(fault_code, env, node) \
-        ((fault_code)->ops->set_base_node(fault_code, env, node))  
-        
-#define AXIS2_SOAP_FAULT_CODE_SET_BUILDER(fault_code, env, builder) \
-        ((fault_code)->ops->set_builder(fault_code, env, builder))
-                
-#define AXIS2_SOAP_FAULT_CODE_SET_VALUE(fault_code , env, value) \
-        ((fault_code)->ops->set_value(fault_code, env, value))
 
 /** @} */
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_detail.h Thu Mar 16 19:33:01 2006
@@ -67,11 +67,6 @@
                                 (axis2_soap_fault_detail_t *fault_detail,
                                  axis2_env_t **env); 
 
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                (axis2_soap_fault_detail_t *fault_detail,
-                                 axis2_env_t **env,
-                                 axis2_om_node_t *node);
-    
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                                 (axis2_soap_fault_detail_t *fault_code,
                                  axis2_env_t **env);
@@ -94,8 +89,7 @@
     * @param env Environment. MUST NOT be NULL
     */
 
-AXIS2_DECLARE(axis2_soap_fault_detail_t *)
-axis2_soap_fault_detail_create(axis2_env_t **env);
+
 
 AXIS2_DECLARE(axis2_soap_fault_detail_t *)
 axis2_soap_fault_detail_create_with_parent
@@ -117,8 +111,7 @@
 #define AXIS2_SOAP_FAULT_DETAIL_GET_BASE_NODE(fault_detail, env) \
         ((fault_detail)->ops->get_base_node(fault_detail, env))         
 
-#define AXIS2_SOAP_FAULT_DETAIL_SET_BASE_NODE(fault_detail, env, node) \
-        ((fault_detail)->ops->set_base_node(fault_detail, env, node))
+
         
 /** @} */
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_node.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_node.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_node.h Thu Mar 16 19:33:01 2006
@@ -63,16 +63,10 @@
         axis2_char_t* (AXIS2_CALL *get_value)                                         
                                    (axis2_soap_fault_node_t *fault_node,
                                     axis2_env_t **env);
-                                     
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                   (axis2_soap_fault_node_t *fault_node,
-                                    axis2_env_t **env,
-                                    axis2_om_node_t *node);
     
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                                    (axis2_soap_fault_node_t *fault_node,
                                     axis2_env_t **env);
-                                    
     };      
 
   /**
@@ -95,9 +89,6 @@
                                          axis2_soap_fault_t *fault);
                             
 
-AXIS2_DECLARE(axis2_soap_fault_node_t *)
-axis2_soap_fault_node_create(axis2_env_t **env);
-
 /******************** Macros **************************************************/
     
     
@@ -111,10 +102,6 @@
 #define AXIS2_SOAP_FAULT_NODE_GET_BASE_NODE(fault_node, env) \
         ((fault_node)->ops->get_base_node(fault_node, env))         
 
-/** internal functons , do not use */
-#define AXIS2_SOAP_FAULT_NODE_SET_BASE_NODE(fault_node, env, node) \
-        ((fault_node)->ops->set_base_node(fault_node, env, node))
-        
 #define AXIS2_SOAP_FAULT_NODE_SET_VALUE(fault_node , env, uri) \
         ((fault_node)->ops->set_value(fault_node, env, uri))        
         

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_reason.h Thu Mar 16 19:33:01 2006
@@ -97,8 +97,7 @@
     * creates a soap struct 
     * @param env Environment. MUST NOT be NULL
     */
-AXIS2_DECLARE(axis2_soap_fault_reason_t *)
-axis2_soap_fault_reason_create(axis2_env_t **env);    
+    
     
 AXIS2_DECLARE(axis2_soap_fault_reason_t *)
 axis2_soap_fault_reason_create_with_parent(axis2_env_t **env,
@@ -117,15 +116,6 @@
 #define AXIS2_SOAP_FAULT_REASON_GET_BASE_NODE(fault_reason, env) \
         ((fault_reason)->ops->get_base_node(fault_reason, env))         
 
-/** internal functions , do not use */
-#define AXIS2_SOAP_FAULT_REASON_SET_SOAP_FAULT_TEXT(fault_reason , env, soap_text) \
-        ((fault_reason)->ops->set_soap_fault_text(fault_reason, env, soap_text))
-
-#define AXIS2_SOAP_FAULT_REASON_SET_BASE_NODE(fault_reason, env, node) \
-        ((fault_reason)->ops->set_base_node(fault_reason, env, node))  
-        
-#define AXIS2_SOAP_FAULT_REASON_SET_BUILDER(fault_reason, env, builder) \
-        ((fault_reason)->ops->set_builder(fault_reason, env, builder))
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_role.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_role.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_role.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_role.h Thu Mar 16 19:33:01 2006
@@ -65,11 +65,6 @@
                                     (axis2_soap_fault_role_t *fault_role,
                                      axis2_env_t **env);
                                      
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                    (axis2_soap_fault_role_t *fault_role,
-                                     axis2_env_t **env,
-                                     axis2_om_node_t *node);
-    
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                                     (axis2_soap_fault_role_t *fault_role,
                                      axis2_env_t **env);
@@ -91,8 +86,6 @@
     * creates a soap struct 
     * @param env Environment. MUST NOT be NULL
     */
-AXIS2_DECLARE(axis2_soap_fault_role_t *)
-axis2_soap_fault_role_create(axis2_env_t **env);
     
 AXIS2_DECLARE(axis2_soap_fault_role_t *)
 axis2_soap_fault_role_create_with_parent(axis2_env_t **env,
@@ -110,10 +103,6 @@
         
 #define AXIS2_SOAP_FAULT_ROLE_GET_BASE_NODE(fault_role, env) \
         ((fault_role)->ops->get_base_node(fault_role, env))         
-
-/** internal functions , do not use */
-#define AXIS2_SOAP_FAULT_ROLE_SET_BASE_NODE(fault_role, env, node) \
-        ((fault_role)->ops->set_base_node(fault_role, env, node)) 
 
 #define AXIS2_SOAP_FAULT_ROLE_SET_VALUE(fault_role , env, value) \
         ((fault_role)->ops->set_role_value(fault_role, env, value))

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_sub_code.h Thu Mar 16 19:33:01 2006
@@ -69,31 +69,7 @@
                              (axis2_soap_fault_sub_code_t *fault_sub_code,
                               axis2_env_t **env);
 
-        /** following set functions are internal functions, do not use */
-
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env,
-                              axis2_om_node_t *node);
-
-        
-        axis2_status_t (AXIS2_CALL *set_sub_code)
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env,
-                              axis2_soap_fault_sub_code_t *fault_subcode);                                                                         
-                                         
-
-        axis2_status_t (AXIS2_CALL *set_value)
-                             (axis2_soap_fault_sub_code_t *fault_sub_code,
-                              axis2_env_t **env,
-                              struct axis2_soap_fault_value *fault_sub_code_val);
-
-                         
-        axis2_status_t (AXIS2_CALL *set_builder)
-                        (axis2_soap_fault_sub_code_t *fault_sub_code,
-                         axis2_env_t **env,
-                         struct axis2_soap_builder* builder);
-    };      
+        };      
 
   /**
     * \brief soap_fault_sub_code struct
@@ -115,11 +91,6 @@
                             axis2_soap_fault_code_t *fault_code);
                             
 
-AXIS2_DECLARE(axis2_soap_fault_sub_code_t *)
-axis2_soap_fault_sub_code_create(axis2_env_t **env);
-
-                                                                   
-
 /******************** Macros **************************************************/
     
     
@@ -135,19 +106,6 @@
         
 #define AXIS2_SOAP_FAULT_SUB_CODE_GET_BASE_NODE(fault_sub_code, env) \
         ((fault_sub_code)->ops->get_base_node(fault_sub_code, env))         
-
-/**follwing function macros are internal, do not use */
-#define AXIS2_SOAP_FAULT_SUB_CODE_SET_BASE_NODE(fault_sub_code, env, node) \
-        ((fault_sub_code)->ops->set_base_node(fault_sub_code, env, node))
-        
-#define AXIS2_SOAP_FAULT_SUB_CODE_SET_BUILDER(fault_sub_code, env, builder) \
-        ((fault_sub_code)->ops->set_builder(fault_sub_code, env, builder))      
-
-#define AXIS2_SOAP_FAULT_SUB_CODE_SET_SUB_CODE(fault_sub_code , env, subcode) \
-        ((fault_sub_code)->ops->set_sub_code(fault_sub_code, env, subcode))
-
-#define AXIS2_SOAP_FAULT_SUB_CODE_SET_VALUE(fault_sub_code , env, value) \
-        ((fault_sub_code)->ops->set_value(fault_sub_code, env, value))
 
 /** @} */
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_text.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_text.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_text.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_text.h Thu Mar 16 19:33:01 2006
@@ -63,11 +63,6 @@
         axis2_char_t* (AXIS2_CALL *get_lang)                                         
                                     (axis2_soap_fault_text_t *fault_text,
                                      axis2_env_t **env);
-        /** this is an internal function for soap builder, do not use*/                             
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                    (axis2_soap_fault_text_t *fault_text,
-                                     axis2_env_t **env,
-                                     axis2_om_node_t *node);
     
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                                 (axis2_soap_fault_text_t *fault_text,
@@ -93,16 +88,8 @@
 axis2_soap_fault_text_create_with_parent(axis2_env_t **env,
                             axis2_soap_fault_reason_t *fault);
                             
-/** this is an internal function for soap builder 
-    do not use externally */
-AXIS2_DECLARE(axis2_soap_fault_text_t *)
-axis2_soap_fault_text_create(axis2_env_t **env);
-
-                                     
-
 /******************** Macros **************************************************/
     
-    
 /** free soap_fault_text */
 #define AXIS2_SOAP_FAULT_TEXT_FREE(fault_text , env) \
         ((fault_text)->ops->free_fn(fault_text, env))
@@ -116,9 +103,6 @@
 #define AXIS2_SOAP_FAULT_TEXT_GET_BASE_NODE(fault_text, env) \
         ((fault_text)->ops->get_base_node(fault_text, env))         
 
-#define AXIS2_SOAP_FAULT_TEXT_SET_BASE_NODE(fault_text, env, node) \
-        ((fault_text)->ops->set_base_node(fault_text, env, node))
-        
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/include/axis2_soap_fault_value.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_fault_value.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_fault_value.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_fault_value.h Thu Mar 16 19:33:01 2006
@@ -56,11 +56,6 @@
                             (axis2_soap_fault_value_t *fault_value,
                              axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                             (axis2_soap_fault_value_t *fault_value,
-                              axis2_env_t **env,
-                              axis2_om_node_t *node);
-    
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                              (axis2_soap_fault_value_t *fault_value,
                               axis2_env_t **env);
@@ -90,8 +85,6 @@
 axis2_soap_fault_value_create_with_code(axis2_env_t **env,
                             axis2_soap_fault_code_t *parent);  
 
-AXIS2_DECLARE(axis2_soap_fault_value_t *)
-axis2_soap_fault_value_create(axis2_env_t **env);
 
                              
 
@@ -105,8 +98,7 @@
 #define AXIS2_SOAP_FAULT_VALUE_GET_BASE_NODE(fault_value, env) \
         ((fault_value)->ops->get_base_node(fault_value, env))         
 
-#define AXIS2_SOAP_FAULT_VALUE_SET_BASE_NODE(fault_value, env, node) \
-        ((fault_value)->ops->set_base_node(fault_value, env, node)) 
+
         
 /** @} */
 

Modified: webservices/axis2/trunk/c/include/axis2_soap_header.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_header.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_header.h Thu Mar 16 19:33:01 2006
@@ -36,7 +36,7 @@
 #endif
     
 typedef struct axis2_soap_header  axis2_soap_header_t;
-typedef struct axis2_soap_header_ops    axis2_soap_header_ops_t;
+typedef struct axis2_soap_header_ops axis2_soap_header_ops_t;
 
 struct axis2_soap_header_block;   
 struct axis2_soap_builder; 
@@ -127,18 +127,8 @@
             (AXIS2_CALL *extract_header_blocks)(axis2_soap_header_t *header,
                                                 axis2_env_t **env,
                                                 axis2_char_t *role);
-                                             
-                                            
                                          
        /**
-        * This is intended to be used by the builder,
-        * do not use this function in other places
-        */
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                                            (axis2_soap_header_t *header,
-                                             axis2_env_t **env,
-                                             axis2_om_node_t *node);
-       /**
         * returns the axis2_om_node_t struct wrapped in soap_header
         * @param header soap_header_t
         * @param env environment must not be null
@@ -153,22 +143,11 @@
          *  @param env environment must not be null
          *  @return AXIS2_SOAP11 or AXIS2_SOAP12
          */
-        int  (AXIS2_CALL *get_soap_version) (axis2_soap_header_t *header,
+       int  (AXIS2_CALL *get_soap_version) (axis2_soap_header_t *header,
                                              axis2_env_t **env);
         
-        /** this is an internal function, only for soap code */
-        int (AXIS2_CALL *set_soap_version)(axis2_soap_header_t *header,
-                                           axis2_env_t **env,
-                                           int soap_version);
          
-        axis2_status_t (AXIS2_CALL *set_header_block)
-                                            (axis2_soap_header_t *header,
-                                             axis2_env_t **env,
-                                             struct axis2_soap_header_block* header_block);
        
-       axis2_status_t (AXIS2_CALL *set_builder)(axis2_soap_header_t *header,
-                                                axis2_env_t **env,
-                                                struct axis2_soap_builder* builder);
 
        axis2_hash_t* (AXIS2_CALL *get_all_header_blocks)(axis2_soap_header_t *header,
                                                          axis2_env_t **env);                                                
@@ -190,8 +169,7 @@
     * creates a soap struct 
     * @param env Environment. MUST NOT be NULL
     */
-AXIS2_DECLARE(axis2_soap_header_t *)
-axis2_soap_header_create(axis2_env_t **env);
+
 
     
 AXIS2_DECLARE(axis2_soap_header_t *)
@@ -217,21 +195,11 @@
 #define AXIS2_SOAP_HEADER_EXTRACT_HEADER_BLOCKS(header, env, role) \
         ((header)->ops->extract_header_blocks(header, env, role))                        
 
-#define AXIS2_SOAP_HEADER_SET_BASE_NODE(header, env, node) \
-        ((header)->ops->set_base_node(header, env, node))
-        
 #define AXIS2_SOAP_HEADER_GET_BASE_NODE(header, env) \
         ((header)->ops->get_base_node(header, env)) 
-        
        
 #define AXIS2_SOAP_HEADER_GET_SOAP_VERSION(header, env) \
         ((header)->ops->get_soap_version(header, env))
-        
-#define AXIS2_SOAP_HEADER_SET_HEADER_BLOCK(header, env, header_block) \
-        ((header)->ops->set_header_block(header, env, header_block))   
-
-#define AXIS2_SOAP_HEADER_SET_BUILDER(header, env, builder) \
-        ((header)->ops->set_builder(header, env, builder))             
 
 #define AXIS2_SOAP_HEADER_GET_HEADER_BLOCKS_WITH_NAMESPACE_URI(header, env, uri)\
         ((header)->ops->get_header_blocks_with_namespace_uri(header, env, uri))
@@ -239,9 +207,6 @@
 #define AXIS2_SOAP_HEADER_GET_ALL_HEADER_BLOCKS(header, env) \
         ((header)->ops->get_all_header_blocks(header, env))
 
-#define AXIS2_SOAP_HEADER_SET_SOAP_VERSION(header, env, soap_version) \
-        ((header)->ops->set_soap_version(header, env, soap_version))
-        
 /** @} */
 #ifdef __cplusplus
 }

Modified: webservices/axis2/trunk/c/include/axis2_soap_header_block.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_header_block.h?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_header_block.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_header_block.h Thu Mar 16 19:33:01 2006
@@ -103,13 +103,6 @@
                              axis2_char_t *attr_name,
                              axis2_char_t *soap_envelope_namespace_uri);                            
                                        
-       /**
-        * This is only intended to be used by the builder,
-        */
-        axis2_status_t (AXIS2_CALL *set_base_node)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             axis2_om_node_t *node);
                                               
         axis2_om_node_t* (AXIS2_CALL *get_base_node)
                             (axis2_soap_header_block_t *header_block,
@@ -119,10 +112,6 @@
                             (axis2_soap_header_block_t *header_block,
                              axis2_env_t **env);
 
-        axis2_status_t (AXIS2_CALL *set_soap_version)
-                            (axis2_soap_header_block_t *header_block,
-                             axis2_env_t **env,
-                             int soap_version);
     };
 
   /**
@@ -142,8 +131,6 @@
 * this is an internal function.    
 */
 
-AXIS2_DECLARE(axis2_soap_header_block_t *)
-axis2_soap_header_block_create(axis2_env_t **env);
 
 AXIS2_DECLARE(axis2_soap_header_block_t *)
 axis2_soap_header_block_create_with_parent(axis2_env_t **env,
@@ -179,9 +166,6 @@
         ((header_block)->ops->get_must_understand_with_string(header_block, \
              env, must_understand))                    
 
-#define AXIS2_SOAP_HEADER_BLOCK_SET_BASE_NODE(header_block, env, node) \
-        ((header_block)->ops->set_base_node(header_block, env, node))
-        
 #define AXIS2_SOAP_HEADER_BLOCK_GET_BASE_NODE(header_block, env) \
         ((header_block)->ops->get_base_node(header_block, env))   
         
@@ -198,8 +182,6 @@
         ((header_block)->ops->set_attribute(header_block, env, \
             attr_name, soap_envelope_namespace_uri))            
 
-#define AXIS2_SOAP_HEADER_BLOCK_SET_SOAP_VERSION(header_block, env, soap_version) \
-        ((header_block)->ops->set_soap_version(header_block, env, soap_version))
 /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/modules/core/clientapi/stub.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/stub.c?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/stub.c Thu Mar 16 19:33:01 2006
@@ -574,7 +574,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, envelope, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, value, AXIS2_FAILURE);
-    
+    /*
     if(is_header)
     {
         axis2_soap_header_t *soap_header = NULL;
@@ -597,6 +597,7 @@
         }
         status = AXIS2_SOAP_BODY_SET_BASE_NODE(body, env, value);
     }
+    */
     return status;
 }
 

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Thu Mar 16 19:33:01 2006
@@ -328,8 +328,8 @@
 	if(NULL == AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env) && 
 						AXIS2_FALSE == is_soap11)
 	{
-		axis2_soap_envelope_t *def_envelope = axis2_soap_envelope_create_null
-						(env);
+		axis2_soap_envelope_t *def_envelope = 
+            axis2_soap_envelope_create_default_soap_envelope(env, AXIS2_SOAP12);
 		AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, def_envelope);
 	}
     if(NULL == engine)
@@ -443,10 +443,13 @@
 		AXIS2_FREE((*env)->allocator, values);
 		return NULL;
 	}
-	envelope = axis2_soap_envelope_create_null(env);
+	envelope = axis2_soap_envelope_create_default_soap_envelope(env, AXIS2_SOAP12);
+    
 	om_ns = axis2_om_namespace_create(env, values[0], "services");
-	def_om_ns = axis2_om_namespace_create(env, "", NULL);
-	document_node = AXIS2_SOAP_BODY_GET_BASE_NODE(AXIS2_SOAP_ENVELOPE_GET_BODY(
+	
+    def_om_ns = axis2_om_namespace_create(env, "", NULL);
+	
+    document_node = AXIS2_SOAP_BODY_GET_BASE_NODE(AXIS2_SOAP_ENVELOPE_GET_BODY(
 						envelope, env), env);
 	op_ele = axis2_om_element_create(env, document_node, values[1], om_ns, 
 						&op_node);

Modified: webservices/axis2/trunk/c/modules/util/dir_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/dir_handler.c?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/dir_handler.c (original)
+++ webservices/axis2/trunk/c/modules/util/dir_handler.c Thu Mar 16 19:33:01 2006
@@ -185,7 +185,6 @@
 	int count = 1;
     int i = 0;
 	struct dirent **files = NULL;
-	DIR *handle = NULL;
 	
 	int dir_select();
     axis2_status_t status = AXIS2_FAILURE;

Modified: webservices/axis2/trunk/c/modules/util/hash.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/hash.c?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/hash.c (original)
+++ webservices/axis2/trunk/c/modules/util/hash.c Thu Mar 16 19:33:01 2006
@@ -174,7 +174,6 @@
 expand_array (axis2_hash_t * ht)
 {
     axis2_hash_index_t *hi;
-    axis2_env_t **env = NULL;
     
     axis2_hash_entry_t **new_array;
     unsigned int new_max;

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_body.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_body.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_body.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_body.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_BODY_H
+ #define _AXIS2_SOAP_BODY_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_body.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_body Soap Body
+ * @ingroup axis2_soap 
+ * @{
+ */
+axis2_status_t AXIS2_CALL
+axis2_soap_body_set_base_node(axis2_soap_body_t *body,
+                              axis2_env_t **env,
+                              axis2_om_node_t *om_node);  
+axis2_status_t AXIS2_CALL 
+axis2_soap_body_set_builder(axis2_soap_body_t *body,
+                            axis2_env_t **env,
+                            struct axis2_soap_builder *builder);
+axis2_status_t AXIS2_CALL 
+axis2_soap_body_set_fault(axis2_soap_body_t *body,
+                          axis2_env_t **env,
+                          struct axis2_soap_fault *soap_fault);    
+    
+AXIS2_DECLARE(axis2_soap_body_t *)
+axis2_soap_body_create(axis2_env_t **env);     
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_BODY_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_envelope.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_envelope.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_envelope.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_envelope.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_ENVELOPE_H
+ #define _AXIS2_SOAP_ENVELOPE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+                                   
+/** @} */
+
+#include <axis2_soap_envelope.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_envelope Soap Envelope
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL
+axis2_soap_envelope_set_base_node(axis2_soap_envelope_t *envelope,
+                                  axis2_env_t **env,
+                                  axis2_om_node_t *om_node);  
+  
+axis2_status_t AXIS2_CALL 
+axis2_soap_envelope_set_body(axis2_soap_envelope_t *envelope,
+                             axis2_env_t **env, 
+                             struct axis2_soap_body *body);
+axis2_status_t AXIS2_CALL 
+axis2_soap_envelope_set_header(axis2_soap_envelope_t *envelope,
+                               axis2_env_t **env, 
+                               struct axis2_soap_header *header);
+    
+axis2_status_t AXIS2_CALL
+axis2_soap_envelope_set_builder(axis2_soap_envelope_t *envelope,
+                                axis2_env_t **env,
+                                struct axis2_soap_builder *soap_builder); 
+
+AXIS2_DECLARE(axis2_soap_envelope_t*)
+axis2_soap_envelope_create_null(axis2_env_t **env);
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_ENVELOPE_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,82 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_H
+ #define _AXIS2_SOAP_FAULT_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault Soap fault
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_code(axis2_soap_fault_t *fault,
+                          axis2_env_t **env,
+                          struct axis2_soap_fault_code *code);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_reason(axis2_soap_fault_t *fault,
+                            axis2_env_t **env,
+                            struct axis2_soap_fault_reason *reason);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_node(axis2_soap_fault_t *fault,
+                          axis2_env_t **env,
+                          struct axis2_soap_fault_node *node);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_role(axis2_soap_fault_t *fault,
+                          axis2_env_t **env,
+                          struct axis2_soap_fault_role *role);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_detail(axis2_soap_fault_t *fault,
+                            axis2_env_t **env,
+                            struct axis2_soap_fault_detail *detail);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_base_node(axis2_soap_fault_t *fault,
+                               axis2_env_t **env,
+                               axis2_om_node_t *node);
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_set_builder(axis2_soap_fault_t *fault,
+                             axis2_env_t **env,
+                             struct axis2_soap_builder *builder);
+    
+    
+AXIS2_DECLARE(axis2_soap_fault_t *)
+axis2_soap_fault_create(axis2_env_t **env);    
+    
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_code.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_code.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_code.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_CODE_H
+ #define _AXIS2_SOAP_FAULT_CODE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_code.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_code Soap fault code
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_code_set_value(axis2_soap_fault_code_t *fault_code,
+                                axis2_env_t **env,
+                                struct axis2_soap_fault_value *fault_val);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_code_set_sub_code(axis2_soap_fault_code_t *fault_code,
+                                  axis2_env_t **env,
+                                  struct axis2_soap_fault_sub_code *fault_subcode);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_code_set_base_node(axis2_soap_fault_code_t *fault_code,
+                                    axis2_env_t **env,
+                                    axis2_om_node_t *node);
+axis2_status_t AXIS2_CALL
+axis2_soap_fault_code_set_builder(axis2_soap_fault_code_t *fault_code,
+                                  axis2_env_t **env,
+                                  struct axis2_soap_builder *soap_builder);
+    
+AXIS2_DECLARE(axis2_soap_fault_code_t *)
+axis2_soap_fault_code_create(axis2_env_t **env);      
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_CODE_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_detail.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_detail.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_detail.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_detail.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_DETAIL_H
+ #define _AXIS2_SOAP_FAULT_DETAIL_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_detail.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_detail soap fault detail
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+    
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_detail_set_base_node
+                        (axis2_soap_fault_detail_t *fault_detail,
+                         axis2_env_t **env,
+                         axis2_om_node_t *node);
+    
+AXIS2_DECLARE(axis2_soap_fault_detail_t *)
+axis2_soap_fault_detail_create(axis2_env_t **env);    
+    
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_DETAIL_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_node.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_node.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_node.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_NODE_H
+ #define _AXIS2_SOAP_FAULT_NODE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_node.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_node Soap fault_node
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_node_set_base_node
+                          (axis2_soap_fault_node_t *fault_node,
+                           axis2_env_t **env,
+                           axis2_om_node_t *node);
+
+AXIS2_DECLARE(axis2_soap_fault_node_t *)
+axis2_soap_fault_node_create(axis2_env_t **env);
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_NODE_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_reason.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_reason.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_reason.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_reason.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,68 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_REASON_H
+ #define _AXIS2_SOAP_FAULT_REASON_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_reason.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_reason Soap Reason
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_reason_set_builder(axis2_soap_fault_reason_t *fault_reason,
+                                    axis2_env_t **env,
+                                    struct axis2_soap_builder *builder);    
+    
+    
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_reason_set_base_node
+                                (axis2_soap_fault_reason_t *fault_reason,
+                                 axis2_env_t **env,
+                                 axis2_om_node_t *node);   
+    
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_reason_set_soap_fault_text
+                                (axis2_soap_fault_reason_t *fault_reason,
+                                 axis2_env_t **env,
+                                 struct axis2_soap_fault_text *soap_text);
+
+AXIS2_DECLARE(axis2_soap_fault_reason_t *)
+axis2_soap_fault_reason_create(axis2_env_t **env);
+
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_REASON_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_role.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_role.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_role.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_role.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_ROLE_H
+ #define _AXIS2_SOAP_FAULT_ROLE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_role.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_role Soap_fault_role
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_role_set_base_node
+                            (axis2_soap_fault_role_t *fault_role,
+                             axis2_env_t **env,
+                             axis2_om_node_t *node);
+    
+AXIS2_DECLARE(axis2_soap_fault_role_t *)
+axis2_soap_fault_role_create(axis2_env_t **env);
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_ROLE_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_sub_code.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_sub_code.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_sub_code.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_sub_code.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_CODE_SUB_CODE_H
+ #define _AXIS2_SOAP_FAULT_CODE_SUB_CODE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_sub_code.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_sub_code Soap_fault_code
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL
+axis2_soap_fault_sub_code_set_sub_code(
+                              axis2_soap_fault_sub_code_t *fault_sub_code,
+                              axis2_env_t **env,
+                              axis2_soap_fault_sub_code_t *sub_code);    
+    
+axis2_status_t AXIS2_CALL
+axis2_soap_fault_sub_code_set_value
+                             (axis2_soap_fault_sub_code_t *fault_sub_code,
+                              axis2_env_t **env,
+                              struct axis2_soap_fault_value *fault_sub_code_val);
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_sub_code_set_base_node
+                             (axis2_soap_fault_sub_code_t *fault_sub_code,
+                              axis2_env_t **env,
+                              axis2_om_node_t *node);
+
+axis2_status_t AXIS2_CALL
+axis2_soap_fault_sub_code_set_builder(
+                                axis2_soap_fault_sub_code_t *fault_sub_code,
+                                axis2_env_t **env,
+                                struct axis2_soap_builder *builder);
+                                    
+AXIS2_DECLARE(axis2_soap_fault_sub_code_t *)
+axis2_soap_fault_sub_code_create(axis2_env_t **env);
+
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_CODE_SUB_CODE_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_text.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_text.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_text.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_text.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_TEXT_H
+ #define _AXIS2_SOAP_FAULT_TEXT_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_text.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_text soap fault text
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_fault_text_set_base_node(axis2_soap_fault_text_t *fault_text,
+                                      axis2_env_t **env,
+                                      axis2_om_node_t *node);
+
+AXIS2_DECLARE(axis2_soap_fault_text_t *)
+axis2_soap_fault_text_create(axis2_env_t **env);
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_TEXT_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_value.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_value.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_value.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_fault_value.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_FAULT_VALUE_H
+ #define _AXIS2_SOAP_FAULT_VALUE_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_fault_value.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_fault_value Soap Fault Value
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL
+axis2_soap_fault_value_set_base_node(axis2_soap_fault_value_t *fault_value,
+                                  axis2_env_t **env,
+                                  axis2_om_node_t *node);
+
+AXIS2_DECLARE(axis2_soap_fault_value_t *)
+axis2_soap_fault_value_create(axis2_env_t **env);    
+    
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_FAULT_VALUE_H */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,69 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_HEADER_H
+ #define _AXIS2_SOAP_HEADER_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_header.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_header Soap header
+ * @ingroup axis2_soap 
+ * @{
+ */
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_set_base_node(axis2_soap_header_t *header,
+                                axis2_env_t **env,
+                                axis2_om_node_t *node);
+
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_set_soap_version(axis2_soap_header_t *header,
+                                   axis2_env_t **env,
+                                   int soap_version);                                                                                                                                                                                                       
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_set_header_block(axis2_soap_header_t *header,
+                                   axis2_env_t **env,
+                                   struct axis2_soap_header_block *header_block);
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_set_builder(axis2_soap_header_t *header,
+                              axis2_env_t **env,
+                              struct axis2_soap_builder *builder); 
+    
+    
+AXIS2_DECLARE(axis2_soap_header_t *)
+axis2_soap_header_create(axis2_env_t **env);    
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_HEADER_H  */

Added: webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header_block.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header_block.h?rev=386519&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header_block.h (added)
+++ webservices/axis2/trunk/c/modules/xml/soap/_axis2_soap_header_block.h Thu Mar 16 19:33:01 2006
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
+ #ifndef _AXIS2_SOAP_HEADER_BLOCK_H
+ #define _AXIS2_SOAP_HEADER_BLOCK_H
+ 
+ 
+ /** @defgroup axis2_soap AXIOM (Axis Object Model)
+  * @ingroup axis2
+  * @{
+  */
+  
+/** @} */
+
+#include <axis2_soap_header_block.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+  
+/**
+ * @defgroup axis2_soap_header_block Soap header block
+ * @ingroup axis2_soap 
+ * @{
+ */
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_block_set_soap_version  
+                        (axis2_soap_header_block_t *header_block,
+                         axis2_env_t **env,
+                         int soap_version);     
+    
+axis2_status_t AXIS2_CALL 
+axis2_soap_header_block_set_base_node
+                        (axis2_soap_header_block_t *header_block,
+                         axis2_env_t **env,
+                         axis2_om_node_t *node);
+    
+AXIS2_DECLARE(axis2_soap_header_block_t *)
+axis2_soap_header_block_create(axis2_env_t **env);
+    
+    
+/** @} */
+    
+#ifdef __cplusplus
+}
+#endif
+
+#endif /** _AXIS2_SOAP_HEADER_BLOCK_H  */

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c?rev=386519&r1=386518&r2=386519&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap11_builder_helper.c Thu Mar 16 19:33:01 2006
@@ -18,13 +18,14 @@
  #include <axis2_om_stax_builder.h>
  #include <axis2_soap_builder.h>
  #include <axis2_soap.h>
- #include <axis2_soap_fault_code.h>
- #include <axis2_soap_fault_value.h>
- #include <axis2_soap_fault_reason.h>
- #include <axis2_soap_body.h>
- #include <axis2_soap_fault_detail.h>
+ #include <_axis2_soap_fault_code.h>
+ #include <_axis2_soap_fault_value.h>
+ #include <_axis2_soap_fault_reason.h>
+ #include <_axis2_soap_fault.h>
+ #include <_axis2_soap_body.h>
+ #include <_axis2_soap_fault_detail.h>
  #include <axis2_soap_fault_text.h>
- #include <axis2_soap_fault_role.h>
+ #include <_axis2_soap_fault_role.h>
  #include <axis2_om_stax_builder_internal.h>
  #include <axis2_om_node_internal.h>
  
@@ -105,6 +106,7 @@
     
     builder_helper_impl->builder_helper.ops->free_fn = 
             axis2_soap11_builder_helper_free;
+    
     builder_helper_impl->builder_helper.ops->handle_event =
             axis2_soap11_builder_helper_handle_event;
             
@@ -197,11 +199,11 @@
             if(!fault_code)
                 return AXIS2_FAILURE;
             
-            AXIS2_SOAP_FAULT_CODE_SET_BASE_NODE(fault_code, env, om_element_node);
+            axis2_soap_fault_code_set_base_node (fault_code, env, om_element_node);
             
-            AXIS2_SOAP_FAULT_SET_CODE(soap_fault, env, fault_code);
+            axis2_soap_fault_set_code (soap_fault, env, fault_code);
             
-            AXIS2_SOAP_FAULT_CODE_SET_BUILDER(fault_code, env, builder_helper_impl->soap_builder);
+            axis2_soap_fault_code_set_builder (fault_code, env, builder_helper_impl->soap_builder);
             
             AXIS2_OM_ELEMENT_SET_LOCALNAME(om_ele, env, AXIS2_SOAP12_SOAP_FAULT_CODE_LOCAL_NAME);
                         
@@ -251,9 +253,9 @@
             if(!fault_reason)
                 return AXIS2_FAILURE;
                 
-            AXIS2_SOAP_FAULT_REASON_SET_BASE_NODE(fault_reason, env, om_element_node);
+            axis2_soap_fault_reason_set_base_node (fault_reason, env, om_element_node);
             
-            AXIS2_SOAP_FAULT_SET_REASON(soap_fault, env, fault_reason); 
+            axis2_soap_fault_set_reason (soap_fault, env, fault_reason); 
             
             fault_text = axis2_soap_fault_text_create_with_parent(env, fault_reason);
             if(!fault_text)
@@ -288,9 +290,9 @@
             
             AXIS2_OM_ELEMENT_SET_LOCALNAME(om_ele, env, AXIS2_SOAP12_SOAP_FAULT_ROLE_LOCAL_NAME);
 
-            AXIS2_SOAP_FAULT_ROLE_SET_BASE_NODE(fault_role, env, om_element_node);
+            axis2_soap_fault_role_set_base_node (fault_role, env, om_element_node);
             
-            AXIS2_SOAP_FAULT_SET_ROLE(soap_fault, env, fault_role);
+            axis2_soap_fault_set_role (soap_fault, env, fault_role);
             /*
             Role element may not have a namespace associated, hence commented, else it segfaults here - Samisa
             status = AXIS2_SOAP_BUILDER_PROCESS_NAMESPACE_DATA(
@@ -307,9 +309,9 @@
                 
             AXIS2_OM_ELEMENT_SET_LOCALNAME(om_ele, env, AXIS2_SOAP12_SOAP_FAULT_DETAIL_LOCAL_NAME);
             
-            AXIS2_SOAP_FAULT_DETAIL_SET_BASE_NODE(fault_detail, env, om_element_node);
+            axis2_soap_fault_detail_set_base_node(fault_detail, env, om_element_node);
             
-            AXIS2_SOAP_FAULT_SET_DETAIL(soap_fault, env, fault_detail);
+            axis2_soap_fault_set_detail (soap_fault, env, fault_detail);
         }
         else
         {