You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2006/11/06 12:39:55 UTC

svn commit: r471701 - in /webservices/sandesha/trunk/c: build/win32/ samples/RMSampleService/ src/handlers/ src/msgprocessors/ src/util/

Author: damitha
Date: Mon Nov  6 03:39:55 2006
New Revision: 471701

URL: http://svn.apache.org/viewvc?view=rev&rev=471701
Log:
Compiling for windows

Modified:
    webservices/sandesha/trunk/c/build/win32/configure.in
    webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc.c
    webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc_skel.c
    webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c
    webservices/sandesha/trunk/c/src/msgprocessors/ack_req_msg_processor.c
    webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
    webservices/sandesha/trunk/c/src/util/ack_mgr.c
    webservices/sandesha/trunk/c/src/util/fault_mgr.c
    webservices/sandesha/trunk/c/src/util/terminate_mgr.c

Modified: webservices/sandesha/trunk/c/build/win32/configure.in
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/build/win32/configure.in?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/build/win32/configure.in (original)
+++ webservices/sandesha/trunk/c/build/win32/configure.in Mon Nov  6 03:39:55 2006
@@ -1,9 +1,9 @@
 AXIOM_MAJOR_VERSION = M
 AXIOM_MINOR_VERSION = 9
 AXIOM_MICRO_VERSION = 3
-AXIS2_INSTALL_DIR = E:\latest\build\axis2c-bin-0.93-win32
-LIBXML2_INSTALL_DIR = E:\libxml2-2.6.23.win32
-ICONV_INSTALL_DIR = E:\iconv-1.9.1.win32
+AXIS2_INSTALL_DIR = D:\axis2\build\deploy
+LIBXML2_INSTALL_DIR = D:\libxml2-2.6.23.win32
+ICONV_INSTALL_DIR = D:\iconv-1.9.1.win32
 
 
 

Modified: webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc.c (original)
+++ webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc.c Mon Nov  6 03:39:55 2006
@@ -17,6 +17,8 @@
 #include <axiom_xml_writer.h>
 #include <stdio.h>
 #include <axis2_qname.h>
+#include <axiom_output.h>
+#include <axiom_element.h>
 
 axiom_node_t *
 build_echo_om(

Modified: webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc_skel.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc_skel.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc_skel.c (original)
+++ webservices/sandesha/trunk/c/samples/RMSampleService/rm_sample_svc_skel.c Mon Nov  6 03:39:55 2006
@@ -17,6 +17,7 @@
 #include "rm_sample_svc.h"
 #include <axis2_array_list.h>
 #include <axis2_op.h>
+#include <axiom_element.h>
 
 int AXIS2_CALL
 rm_sample_svc_free(axis2_svc_skeleton_t *svc_skeleton,

Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c Mon Nov  6 03:39:55 2006
@@ -169,7 +169,6 @@
     msg_type = SANDESHA2_MSG_CTX_GET_MSG_TYPE(rm_msg_ctx, env);
     if(msg_type == SANDESHA2_MSG_TYPE_UNKNOWN)
     {
-        printf("came4 .........\n");
         axis2_msg_ctx_t *req_msg_ctx = NULL;
         axis2_op_ctx_t *op_ctx = NULL;
 
@@ -178,7 +177,6 @@
                 AXIS2_WSDL_MESSAGE_LABEL_IN_VALUE);
         if(req_msg_ctx) /* For the server side */
         {
-            printf("came44 .........\n");
             sandesha2_msg_ctx_t *req_rm_msg_ctx = NULL;
             sandesha2_seq_t *seq_part = NULL;
 
@@ -188,28 +186,24 @@
             
             if(seq_part)
             {
-                printf("came444 .........\n");
                 msg_processor = (sandesha2_msg_processor_t *) 
-                    sandesha2_app_msg_processor_create(env); /* rm 
+                sandesha2_app_msg_processor_create(env); /* rm 
                                                                 intended msg */
             }
         }
         else if(!AXIS2_MSG_CTX_GET_SERVER_SIDE(msg_ctx, env))
         {
-            printf("came4444 .........\n");
             msg_processor = (sandesha2_msg_processor_t *) 
-                sandesha2_app_msg_processor_create(env);
+            sandesha2_app_msg_processor_create(env);
         }
     }
     else
     {
-        printf("came5 .........\n");
         msg_processor = sandesha2_msg_processor_create_msg_processor(env, 
-                rm_msg_ctx);
+        rm_msg_ctx);
     }
     if(msg_processor)
     {
-        printf("came6 .........\n");
         SANDESHA2_MSG_PROCESSOR_PROCESS_OUT_MSG(msg_processor, env, rm_msg_ctx);
     }
     if(AXIS2_SUCCESS != AXIS2_ERROR_GET_STATUS_CODE(env->error))

Modified: webservices/sandesha/trunk/c/src/msgprocessors/ack_req_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/ack_req_msg_processor.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/ack_req_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/ack_req_msg_processor.c Mon Nov  6 03:39:55 2006
@@ -42,6 +42,7 @@
 #include <axis2_addr.h>
 #include <sandesha2_msg_init.h>
 #include <sandesha2_msg_creator.h>
+#include <axis2_transport_out_desc.h>
 
 /** 
  * @brief Ack Requested Message Processor struct impl
@@ -361,7 +362,7 @@
         AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_APPLICATION);
         AXIS2_PROPERTY_SET_VALUE(property, env, transport_out);
         AXIS2_PROPERTY_SET_FREE_FUNC(property, env, 
-            axis2_transport_out_desc_free_void_arg);
+			transport_out->ops->free_void_arg);
         AXIS2_MSG_CTX_SET_PROPERTY(ack_msg_ctx, env, 
                         SANDESHA2_ORIGINAL_TRANSPORT_OUT_DESC, property, 
                         AXIS2_FALSE);

Modified: webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c Mon Nov  6 03:39:55 2006
@@ -47,7 +47,7 @@
 #include <sandesha2_ack_mgr.h>
 #include <sandesha2_terminate_mgr.h>
 #include <sandesha2_seq_mgr.h>
-
+#include <axis2_transport_out_desc.h>
 /** 
  * @brief Terminate Sequence Message Processor struct impl
  *	Sandesha2 Terminate Sequence Msg Processor
@@ -590,7 +590,7 @@
     AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_APPLICATION);
     AXIS2_PROPERTY_SET_VALUE(property, env, out_desc);
     AXIS2_PROPERTY_SET_FREE_FUNC(property, env, 
-            axis2_transport_out_desc_free_void_arg);
+            out_desc->ops->free_void_arg);
     AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env, 
                         SANDESHA2_ORIGINAL_TRANSPORT_OUT_DESC, property, 
                         AXIS2_FALSE);

Modified: webservices/sandesha/trunk/c/src/util/ack_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/ack_mgr.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/util/ack_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/ack_mgr.c Mon Nov  6 03:39:55 2006
@@ -30,6 +30,7 @@
 #include <sandesha2_seq_ack.h>
 #include <axis2_op.h>
 #include <sandesha2_msg_creator.h>
+#include <axis2_transport_out_desc.h>
 
 AXIS2_EXTERN sandesha2_msg_ctx_t *AXIS2_CALL
 sandesha2_ack_mgr_generate_ack_msg(
@@ -243,7 +244,7 @@
         AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_APPLICATION);
         AXIS2_PROPERTY_SET_VALUE(property, env, orig_trans_out);
         AXIS2_PROPERTY_SET_FREE_FUNC(property, env, 
-            axis2_transport_out_desc_free_void_arg);
+            orig_trans_out->ops->free_void_arg);
         AXIS2_MSG_CTX_SET_PROPERTY(ack_msg_ctx, env,
                             SANDESHA2_ORIGINAL_TRANSPORT_OUT_DESC, property,
                             AXIS2_FALSE);

Modified: webservices/sandesha/trunk/c/src/util/fault_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/fault_mgr.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/util/fault_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/fault_mgr.c Mon Nov  6 03:39:55 2006
@@ -319,10 +319,9 @@
         SANDESHA2_MSG_TYPE_TERMINATE_SEQ_RESPONSE == type ||
         SANDESHA2_MSG_TYPE_CLOSE_SEQ_RESPONSE == type)
     {
-        AXIS2_LOG_INFO(env->log, "[sandesha2] came10 .........");
         sandesha2_create_seq_bean_t *find_bean = NULL;
         axis2_array_list_t *list = NULL;
-        
+        AXIS2_LOG_INFO(env->log, "[sandesha2] came10 .........");
         find_bean = sandesha2_create_seq_bean_create(env);
         SANDESHA2_CREATE_SEQ_BEAN_SET_SEQ_ID(find_bean, env, seq_id);
         list = SANDESHA2_CREATE_SEQ_MGR_FIND(create_seq_mgr, env, 
@@ -347,11 +346,9 @@
         if(list)
         {
             int size = AXIS2_ARRAY_LIST_SIZE(list, env);
-            AXIS2_LOG_INFO(env->log, "[sandesha2] size:%d ", size);
             int i = 0;
-            for(i = 0; i < size; i++)
+			for(i = 0; i < size; i++)
             {
-                AXIS2_LOG_INFO(env->log, "[sandesha2] came12 .........");
                 sandesha2_next_msg_bean_t *next_bean = NULL;
                 axis2_char_t *tmp_id = NULL;
                 

Modified: webservices/sandesha/trunk/c/src/util/terminate_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/terminate_mgr.c?view=diff&rev=471701&r1=471700&r2=471701
==============================================================================
--- webservices/sandesha/trunk/c/src/util/terminate_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/util/terminate_mgr.c Mon Nov  6 03:39:55 2006
@@ -28,6 +28,7 @@
 #include <axis2_array_list.h>
 #include <axis2_engine.h>
 #include <sandesha2_msg_creator.h>
+#include <axis2_transport_out_desc.h>
 
 axis2_hash_t *sandesha2_terminate_mgr_rcv_side_clean_map = NULL;
 
@@ -585,7 +586,7 @@
     AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_APPLICATION);
     AXIS2_PROPERTY_SET_VALUE(property, env, transport_out);
     AXIS2_PROPERTY_SET_FREE_FUNC(property, env, 
-            axis2_transport_out_desc_free_void_arg);
+            transport_out->ops->free_void_arg);
     AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx1, env, 
                         SANDESHA2_ORIGINAL_TRANSPORT_OUT_DESC, property,
                         AXIS2_FALSE);



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