You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/08/02 17:57:50 UTC

svn commit: r428038 - in /webservices/axis2/trunk/c: include/axis2_msg_ctx.h modules/core/context/msg_ctx.c modules/core/transport/http/http_out_transport_info.c

Author: samisa
Date: Wed Aug  2 08:57:47 2006
New Revision: 428038

URL: http://svn.apache.org/viewvc?rev=428038&view=rev
Log:
Fixed some build breaks due to API improvements

Modified:
    webservices/axis2/trunk/c/include/axis2_msg_ctx.h
    webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c

Modified: webservices/axis2/trunk/c/include/axis2_msg_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_msg_ctx.h?rev=428038&r1=428037&r2=428038&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_msg_ctx.h (original)
+++ webservices/axis2/trunk/c/include/axis2_msg_ctx.h Wed Aug  2 08:57:47 2006
@@ -797,7 +797,7 @@
                 set_soap_action)(
                     struct axis2_msg_ctx *msg_ctx,
                     const axis2_env_t *env,
-                    axis2_char_t *soap_action);
+                    const axis2_char_t *soap_action);
 
 	/**
 	 * @param msg_ctx message context

Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c?rev=428038&r1=428037&r2=428038&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/msg_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Wed Aug  2 08:57:47 2006
@@ -349,7 +349,7 @@
 axis2_status_t AXIS2_CALL
 axis2_msg_ctx_set_soap_action(struct axis2_msg_ctx *msg_ctx, 
                                 const axis2_env_t *env,
-                                axis2_char_t *soap_action);
+                                const axis2_char_t *soap_action);
 axis2_bool_t AXIS2_CALL
 axis2_msg_ctx_get_doing_mtom(struct axis2_msg_ctx *msg_ctx, 
                                 const axis2_env_t *env);
@@ -1781,7 +1781,7 @@
 
 axis2_status_t AXIS2_CALL axis2_msg_ctx_set_soap_action(struct axis2_msg_ctx *msg_ctx, 
                                             const axis2_env_t *env,
-                                            axis2_char_t *soap_action) 
+                                            const axis2_char_t *soap_action) 
 {
     axis2_msg_ctx_impl_t *msg_ctx_impl = NULL;
     

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c?rev=428038&r1=428037&r2=428038&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_out_transport_info.c Wed Aug  2 08:57:47 2006
@@ -53,12 +53,6 @@
             (axis2_http_out_transport_info_t *out_transport_info, 
             const axis2_env_t *env);
 
-const axis2_char_t *AXIS2_CALL 
-axis2_http_out_transport_info_get_content_type 
-            (axis2_http_out_transport_info_t *info, 
-                const axis2_env_t *env);
-/***************************** End of function headers ************************/
-
 axis2_http_out_transport_info_t * AXIS2_CALL 
 axis2_http_out_transport_info_create(const axis2_env_t *env,
                axis2_http_simple_response_t *response)
@@ -94,8 +88,6 @@
                   axis2_http_out_transport_info_set_char_encoding;
     info_impl->out_transport_info.ops->free = 
                   axis2_http_out_transport_info_free;
-    info_impl->out_transport_info.ops->get_content_type = 
-                  axis2_http_out_transport_info_get_content_type;
                         
    return &(info_impl->out_transport_info);
 }
@@ -186,25 +178,6 @@
    info_impl->encoding = AXIS2_STRDUP(encoding, env);
    
    return AXIS2_SUCCESS;
-}
-
-const axis2_char_t *AXIS2_CALL 
-axis2_http_out_transport_info_get_content_type 
-            (axis2_http_out_transport_info_t *info, 
-                const axis2_env_t *env)
-{
-    axis2_http_out_transport_info_impl_t *info_impl = NULL;
-    AXIS2_ENV_CHECK(env, NULL);
-   
-    info_impl = AXIS2_INTF_TO_IMPL(info);
-    
-    if (info_impl->response)
-    {
-        return AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_TYPE(info_impl->response, 
-            env);
-    }
-
-    return NULL;
 }
 
 



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