axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r428389 - in /webservices/axis2/trunk/c/modules/core: clientapi/svc_client.c description/client_utils.c transport/http/http_transport_utils.c
Date Thu, 03 Aug 2006 12:29:23 GMT
Author: nandika
Date: Thu Aug  3 05:29:23 2006
New Revision: 428389

URL: http://svn.apache.org/viewvc?rev=428389&view=rev
Log:
compilation errors in win32 fixed

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/modules/core/description/client_utils.c
    webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c?rev=428389&r1=428388&r2=428389&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/svc_client.c Thu Aug  3 05:29:23 2006
@@ -207,7 +207,9 @@
     axis2_svc_grp_ctx_t *svc_grp_ctx = NULL;
     axis2_char_t *svc_grp_name = NULL;
     axis2_hash_t *ops = NULL;
-
+    axis2_char_t *repos_path = NULL;
+    axis2_char_t *wsdl_path = NULL;
+    
     AXIS2_ENV_CHECK(env, NULL);
 
     svc_client_impl = AXIS2_MALLOC( env->allocator, sizeof(axis2_svc_client_impl_t));
@@ -227,8 +229,7 @@
     svc_client_impl->callback_recv = NULL;   
     svc_client_impl->listener_manager = NULL;
     svc_client_impl->op_client = NULL;
-    axis2_char_t *repos_path = NULL;
-    axis2_char_t *wsdl_path = NULL;
+  
 
 
     /** initialize private data to NULL, create options */
@@ -255,17 +256,17 @@
            wsdl_svc_qname, endpoint_name, wsdl_path, svc_client_impl->options);
    if(svc_client_impl->svc)
    {
-       axis2_hash_index_t *i = NULL;
-       void *v = NULL;
-       axis2_op_t *op = NULL;
+        axis2_hash_index_t *i = NULL;
+        void *v = NULL;
+        axis2_op_t *op = NULL;
        
-       ops = AXIS2_SVC_GET_OPS(svc_client_impl->svc, env);
+        ops = AXIS2_SVC_GET_OPS(svc_client_impl->svc, env);
         for (i = axis2_hash_first (ops, env); i; i = axis2_hash_next (env, i))
         {
+            axis2_phases_info_t *info = NULL;
             axis2_hash_this (i, NULL, NULL, &v);
             op = (axis2_op_t *) v;
-            axis2_phases_info_t *info = NULL;
-
+        
             /* Setting operation phase */
             info = AXIS2_CONF_GET_PHASESINFO(svc_client_impl->conf, env);
             AXIS2_PHASES_INFO_SET_OP_PHASES(info, env, op);
@@ -342,11 +343,11 @@
     svc_client_impl->svc = NULL;
     svc_client_impl->conf = NULL;
     svc_client_impl->conf_ctx = NULL;
-   svc_client_impl->svc_ctx = NULL;
+    svc_client_impl->svc_ctx = NULL;
     svc_client_impl->options = NULL;
     svc_client_impl->override_options = NULL;
     svc_client_impl->headers = NULL;
-   svc_client_impl->callback_recv = NULL;   
+    svc_client_impl->callback_recv = NULL;   
     svc_client_impl->listener_manager = NULL;
     svc_client_impl->op_client = NULL;
 

Modified: webservices/axis2/trunk/c/modules/core/description/client_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/client_utils.c?rev=428389&r1=428388&r2=428389&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/client_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/client_utils.c Thu Aug  3 05:29:23
2006
@@ -21,7 +21,7 @@
 #include <axis2_options.h>
 #include <axiom_util.h>
 #include <axis2_param.h>
-#include <axis2_client_utils.h>
+#include "axis2_client_utils.h"
 #include <woden_resolver.h>
 #include <woden_nc_name.h>
 #include <woden_desc.h>
@@ -99,9 +99,9 @@
         int no_of_endpoints = 0;
         int no_of_binding_ops = 0;
         int no_of_interface_msg_refs = 0;
-        axis2_svc = axis2_svc_create(env);
         int i = 0;
         
+        axis2_svc = axis2_svc_create(env);
         wsdl_svcs = WODEN_DESC_GET_SVCS(desc, env);
         if(wsdl_svcs)
             no_of_svcs = AXIS2_ARRAY_LIST_SIZE(wsdl_svcs, env);
@@ -258,12 +258,13 @@
         void *endpoint = NULL;
         void *binding = NULL;
         void *wsdl_svc = NULL;
-        axis2_svc = axis2_svc_create(env);
         int no_of_svcs = 0;
         int no_of_endpoints = 0;
         int no_of_binding_ops = 0;
         int no_of_interface_msg_refs = 0;
         int i = 0;
+
+        axis2_svc = axis2_svc_create(env);
         
         wsdl_svcs = WODEN_WSDL10_DESC_GET_SVCS(desc, env);
         if(wsdl_svcs)

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=428389&r1=428388&r2=428389&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 Aug 
3 05:29:23 2006
@@ -1029,11 +1029,10 @@
     }
     if(NULL != content_type)
     {
+        axis2_char_t *mime_boundary = NULL;
         AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx, env, AXIS2_TRUE);
         /* get mime boundry */
-        axis2_char_t *mime_boundary = 
-            axis2_http_transport_utils_get_value_from_content_type(env, 
-                content_type, AXIS2_HTTP_HEADER_CONTENT_TYPE_MIME_BOUNDARY);
+        mime_boundary = axis2_http_transport_utils_get_value_from_content_type         (env,
content_type, AXIS2_HTTP_HEADER_CONTENT_TYPE_MIME_BOUNDARY);
 
         if (mime_boundary)
         {



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


Mime
View raw message